You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/utilities/variant/variant.visit
Eric Fiselier 44c3a02fa1 Merge r294612 - Fix PR31916 - std::visit rejects visitors accepting lvalue arguments
A static assertion was misfiring since it checked
is_callable<Visitor, decltype(__variant_alt<T>.value)>. However
the decltype expression doesn't capture the value category as
required. This patch applies extra braces to decltype to fix
that.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/branches/release_40@294681 91177308-0d34-0410-b5e6-96231b3b80d8
9 years ago
..
visit.pass.cpp Merge r294612 - Fix PR31916 - std::visit rejects visitors accepting lvalue arguments 9 years ago