This is used to constrain variant's converting constructor correctly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/utility | ||
---|---|---|
931 ↗ | (On Diff #102219) | Missing __uncvref_t . Is this intentional? |
include/utility | ||
---|---|---|
931 ↗ | (On Diff #102219) | Oh, I can add that. As far as I understand, we're required to perform decay_t from variant's side anyway, |
include/utility | ||
---|---|---|
931 ↗ | (On Diff #102219) | Should be fine. I guess it doesn't matter. but it makes me a bit uncomfortable to have two different metafunctions, one that does decay and another that doesn't. |
Comment Actions
I could add some. Where do you think they should live?
libc++ specific tests (which this would definitely be) live in test/libcxx/.
How about test/libcxx/utilities/meta/meta.unary ?