Skip to content

Update constructors #32

Open
Open

Description

@shyun3

Since C++20 has been finalized, cppreference has updated their section on constructors. Looks like (2) and (3) now use generic iterators instead of concrete pointers and the container constructors have been replaced by the range constructor in (7).

Activity

  1. tcbrindle commented on Feb 19, 2020

    @tcbrindle
    Owner

    Agreed, I was holding off on this to see what other changes might emerge after the Prague meeting, but now the design is fixed we should implement it as best we can.

    I say "as best we can" because the updated constructors now use concepts, which are quite a lot of work to emulate using SFINAE. I'll have to experiment with how this can be done without introducing too much template goo.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions