mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-30 20:47:31 +02:00
Use BOOST_CXX14_CONSTEXPR instead of BOOST_CONSTEXPR.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
This commit is contained in:
@ -40,7 +40,7 @@ namespace boost { namespace fusion {
|
|||||||
};
|
};
|
||||||
|
|
||||||
template<typename Elem>
|
template<typename Elem>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
void operator()(Elem const& e) const
|
void operator()(Elem const& e) const
|
||||||
{
|
{
|
||||||
using std::swap;
|
using std::swap;
|
||||||
@ -50,7 +50,7 @@ namespace boost { namespace fusion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename Seq1, typename Seq2>
|
template<typename Seq1, typename Seq2>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
typename enable_if<mpl::and_<traits::is_sequence<Seq1>, traits::is_sequence<Seq2> >, void>::type
|
typename enable_if<mpl::and_<traits::is_sequence<Seq1>, traits::is_sequence<Seq2> >, void>::type
|
||||||
swap(Seq1& lhs, Seq2& rhs)
|
swap(Seq1& lhs, Seq2& rhs)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user