mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-21 16:22:45 +02:00
Update WA condition
This commit is contained in:
@ -99,7 +99,7 @@ namespace std
|
|||||||
|
|
||||||
// Workaround for compiler which doesn't compile decltype(expr)::type.
|
// Workaround for compiler which doesn't compile decltype(expr)::type.
|
||||||
// It expects decltype(expr) deduced as mpl::identity<T>.
|
// It expects decltype(expr) deduced as mpl::identity<T>.
|
||||||
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1913))
|
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1913)) || BOOST_WORKAROUND(BOOST_GCC, < 40700)
|
||||||
# include <boost/mpl/identity.hpp>
|
# include <boost/mpl/identity.hpp>
|
||||||
# define BOOST_FUSION_IDENTIFIED_TYPE(parenthesized_expr) \
|
# define BOOST_FUSION_IDENTIFIED_TYPE(parenthesized_expr) \
|
||||||
boost::mpl::identity<decltype parenthesized_expr>::type::type
|
boost::mpl::identity<decltype parenthesized_expr>::type::type
|
||||||
|
Reference in New Issue
Block a user