-
Notifications
You must be signed in to change notification settings - Fork 14
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
Different deduction guides in paper and implementation of indirect
#497
Comments
While we are at it, a small follow-up question regarding deduction guides and CTAD: Does https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1518r2.html somehow also apply to I.e. should it be: - constexpr indirect(allocator_arg_t, const Allocator& a, const indirect& other);
+ constexpr indirect(allocator_arg_t, const type_identity_t<Allocator>& a, const indirect& other);
- constexpr indirect(allocator_arg_t, const Allocator& a, indirect&& other);
+ constexpr indirect(allocator_arg_t, const type_identity_t<Allocator>& a, indirect&& other); I am not sure, but I got reminded of P1518 and at least wanted to mention it. |
Thanks @Ukilele. The implementation should be brought in line with the proposal (on this front and others). |
I'm not sure about P1518. I'll have to dig in and follow up next week. What do you think the right direction is? Possibly related: microsoft/STL#4060 We're currently consistent with tuple: https://eel.is/c++draft/tuple.tuple which might be the right way to be. |
Hey, I just realized that the deduction guides described in the proposal
D3019R12
are different from the ones in the implementation ofindirect
.Proposal:
Implementation
Not sure what the right solution here is, but I at least wanted to report it asap.
The text was updated successfully, but these errors were encountered: