mirror of https://github.com/llvm-mirror/libcxx
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.
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 | 9 years ago | |