Move specialization of is_placeholder into namespace std to placate g++ 5, 6

This commit is contained in:
Peter Dimov 2021-06-27 05:40:50 +03:00
parent d4fc5516fa
commit 547fed5227

View File

@ -45,10 +45,15 @@ BOOST_LAMBDA2_INLINE_VAR constexpr lambda2_arg<9> _9{};
} // namespace lambda2
} // namespace boost
template<int I> struct std::is_placeholder< boost::lambda2::lambda2_arg<I> >: std::integral_constant<int, I>
namespace std
{
template<int I> struct is_placeholder< boost::lambda2::lambda2_arg<I> >: integral_constant<int, I>
{
};
} // namespace std
namespace boost
{
namespace lambda2