diff options
author | Michael Park <mcypark@gmail.com> | 2017-06-19 08:25:57 +0000 |
---|---|---|
committer | Michael Park <mcypark@gmail.com> | 2017-06-19 08:25:57 +0000 |
commit | b47a9bc6c40a06aeaec76262e056b8bd1a5203ec (patch) | |
tree | 509dbed2f149ff324e848c2d2f86681091302a04 /CMakeLists.txt | |
parent | 7db4f7b42648a33050ff1a8c85098080ebe55d34 (diff) |
Add a missing SFINAE condition to the `variant`'s converting constructor.
Remarks: This function shall not participate in overload resolution unless
`is_same_v<decay_t<T>, variant>` is false, unless `decay_t<T>` is
neither a specialization of `in_place_type_t` nor a specialization of
`in_place_index_t`, unless `is_constructible_v<Tj, T>` is true, and
unless the expression `FUN(std::forward<T>(t))` (with `FUN` being the
above-mentioned set of imaginary functions) is well formed.
Depends on D34111.
Reviewers: EricWF, K-ballo
Reviewed By: EricWF
Subscribers: fhahn
Differential Revision: https://reviews.llvm.org/D34112
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@305668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions