Work around GCC 9.0 regression
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@349663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24,7 +24,8 @@ struct make_variant_imp;
|
||||
|
||||
template <size_t ...Indices>
|
||||
struct make_variant_imp<std::integer_sequence<size_t, Indices...>> {
|
||||
using type = std::variant<decltype((Indices, char(0)))...>;
|
||||
template <size_t> using AlwaysChar = char;
|
||||
using type = std::variant<AlwaysChar<Indices>...>;
|
||||
};
|
||||
|
||||
template <size_t N>
|
||||
|
||||
Reference in New Issue
Block a user