diff --git a/include/boost/variant2/variant.hpp b/include/boost/variant2/variant.hpp index b1910c6..e296d54 100644 --- a/include/boost/variant2/variant.hpp +++ b/include/boost/variant2/variant.hpp @@ -1148,7 +1148,7 @@ public: } template::type, variant>::value>::type, + class E1 = typename std::enable_if::type, variant>::value>::type, class V = variant2::detail::resolve_overload_type, class E2 = typename std::enable_if::value && std::is_constructible::value>::type >