Use BOOST_CONSTEXPR instead of (nonexistant) BOOST_CXX14_CONSTEXPR.

This commit is contained in:
Louis Dionne
2014-11-11 18:02:03 -05:00
parent d93e675408
commit b7f95ee853
2 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ namespace boost { namespace fusion
{} {}
template<typename OtherSeq> template<typename OtherSeq>
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
basic_iterator& basic_iterator&
operator=(basic_iterator<Tag,Category,OtherSeq,Index> const& it) operator=(basic_iterator<Tag,Category,OtherSeq,Index> const& it)
{ {

View File

@ -40,7 +40,7 @@ namespace boost { namespace fusion {
}; };
template<typename Elem> template<typename Elem>
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED BOOST_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_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED BOOST_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)
{ {