You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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.
Activity
tcbrindle commentedon 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.