forked from boostorg/fusion
Use BOOST_CONSTEXPR_OR_CONST instead.
Older GCC cannot specify both of const and constexpr to variable decl. Partially fix #11517
This commit is contained in:
@ -27,7 +27,7 @@ namespace boost { namespace fusion
|
|||||||
}
|
}
|
||||||
|
|
||||||
// "ignore" allows tuple positions to be ignored when using "tie".
|
// "ignore" allows tuple positions to be ignored when using "tie".
|
||||||
BOOST_CONSTEXPR detail::swallow_assign const ignore = detail::swallow_assign();
|
BOOST_CONSTEXPR_OR_CONST detail::swallow_assign ignore = detail::swallow_assign();
|
||||||
}}
|
}}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -64,7 +64,7 @@ namespace boost { namespace fusion
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
BOOST_CONSTEXPR unused_type const unused = unused_type();
|
BOOST_CONSTEXPR_OR_CONST unused_type unused = unused_type();
|
||||||
|
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user