Skip to content

Add pilfer to Core #117

Open
Open

Description

@vinniefalco

Add pilfer to Core so that it can be used by more than just Boost.JSON

Activity

  1. Lastique commented on May 16, 2022

    @Lastique
    Member

    I don't understand what's this about. Closing as spam.

    @vinniefalco Please be clear about the problem description in future issues and avoid jargonisms.

  2. pdimov commented on May 16, 2022

    @pdimov
    Member

    It's a request to add pilfer to Core. pilfer currently exists in Boost.JSON detail, and has been proposed by me in P0308.

    That'd actually be a legitimate addition to Core, for a change - the component is already present in another library and is needed as common infrastructure in others.

  3. reopened this on May 16, 2022
  4. changed the title [-]pilfer me timbers![/-] [+]Add pilfer to Core[/+] on May 16, 2022
  5. breese commented on May 16, 2022

    @breese
    Contributor

    You may want to reconsider the name. This facility is a optimization on move semantics, and is thus special-purpose and less widely used. In such cases we should consider a longer, more expressive name, such as semi_destructive_move(), to make it more likely that arbitrary users understand the code without having to read up on "pilfering".

  6. vinniefalco commented on May 16, 2022

    @vinniefalco
    MemberAuthor

    I like pilfer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions