We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
{}
1 parent 98f6dd4 commit 699df9dCopy full SHA for 699df9d
include/cpp2util.h
@@ -593,7 +593,7 @@ constexpr auto operator_as( std::variant<Ts...> const& x ) -> auto&& {
593
594
// A helper for is...
595
template <class T, class... Ts>
596
-inline constexpr auto is_any = std::disjunction_v<std::is_same<T, Ts>...> {};
+inline constexpr auto is_any = std::disjunction_v<std::is_same<T, Ts>...>;
597
598
template<typename T, typename... Ts>
599
auto is( std::variant<Ts...> const& x ) {
0 commit comments