diff --git a/include/boost/lambda2/lambda2.hpp b/include/boost/lambda2/lambda2.hpp index 6071f8f..683e59f 100644 --- a/include/boost/lambda2/lambda2.hpp +++ b/include/boost/lambda2/lambda2.hpp @@ -18,7 +18,7 @@ namespace boost namespace lambda2 { -namespace detail +namespace lambda2_detail { template using remove_cvref_t = std::remove_cv_t>; @@ -32,17 +32,17 @@ template using enable_unary_lambda = template using enable_binary_lambda = std::enable_if_t::value || is_lambda_expression::value>; -} // namespace detail +} // namespace lambda2_detail #define BOOST_LAMBDA2_UNARY_LAMBDA(op, fn) \ - template> \ + template> \ auto operator op( A&& a ) \ { \ return std::bind( fn(), std::forward(a) ); \ } #define BOOST_LAMBDA2_BINARY_LAMBDA(op, fn) \ - template> \ + template> \ auto operator op( A&& a, B&& b ) \ { \ return std::bind( fn(), std::forward(a), std::forward(b) ); \