Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update constructors #32

Open
shyun3 opened this issue Feb 18, 2020 · 1 comment
Open

Update constructors #32

shyun3 opened this issue Feb 18, 2020 · 1 comment

Comments

@shyun3
Copy link

shyun3 commented Feb 18, 2020

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).

@tcbrindle
Copy link
Owner

tcbrindle commented Feb 19, 2020

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants