Skip to content

Commit

Permalink
Increase workaround to < 1950, because VS2022 has reached _MSC_VER=19…
Browse files Browse the repository at this point in the history
…40. Refs #43.
  • Loading branch information
pdimov committed May 17, 2024
1 parent ff36c3a commit 78796d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/variant2/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,7 @@ template<class... T> class variant: private detail::variant_ma_base<T...>
class Ud = typename std::decay<U>::type,
class E1 = typename std::enable_if< !std::is_same<Ud, variant>::value && !std::is_base_of<variant, Ud>::value && !detail::is_in_place_index<Ud>::value && !detail::is_in_place_type<Ud>::value >::type,

#if BOOST_WORKAROUND(BOOST_MSVC, < 1940)
#if BOOST_WORKAROUND(BOOST_MSVC, < 1950)

class V = mp11::mp_apply_q< mp11::mp_bind_front<detail::resolve_overload_type, U&&>, variant >,

Expand Down

0 comments on commit 78796d0

Please sign in to comment.