summaryrefslogtreecommitdiff
path: root/boost/phoenix/function/adapt_function.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/phoenix/function/adapt_function.hpp')
-rw-r--r--boost/phoenix/function/adapt_function.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/boost/phoenix/function/adapt_function.hpp b/boost/phoenix/function/adapt_function.hpp
index 6ba20be3d2..b539ae1894 100644
--- a/boost/phoenix/function/adapt_function.hpp
+++ b/boost/phoenix/function/adapt_function.hpp
@@ -13,7 +13,7 @@
#include <boost/preprocessor/repetition/repeat.hpp>
#define BOOST_PHOENIX_ADAPT_FUNCTION_NULLARY(RESULT, NAME, FUNC) \
- namespace detail \
+ namespace detail0 \
{ \
struct BOOST_PP_CAT(NAME, _impl_nullary) \
{ \
@@ -29,18 +29,18 @@
\
inline \
boost::phoenix::detail::expression::function_eval< \
- detail:: BOOST_PP_CAT(NAME, _impl_nullary) \
+ detail0:: BOOST_PP_CAT(NAME, _impl_nullary) \
>::type const \
NAME() \
{ \
return boost::phoenix::detail::expression:: \
- function_eval<detail:: BOOST_PP_CAT(NAME, _impl_nullary)> \
- ::make(detail:: BOOST_PP_CAT(NAME, _impl_nullary)()); \
+ function_eval<detail0:: BOOST_PP_CAT(NAME, _impl_nullary)> \
+ ::make(detail0:: BOOST_PP_CAT(NAME, _impl_nullary)()); \
} \
/**/
#define BOOST_PHOENIX_ADAPT_FUNCTION(RESULT, NAME, FUNC, N) \
- namespace detail \
+ namespace detail1 \
{ \
struct BOOST_PP_CAT(BOOST_PP_CAT(NAME, _impl_), N) \
{ \
@@ -64,16 +64,16 @@
inline \
typename \
boost::phoenix::detail::expression::function_eval< \
- detail:: BOOST_PP_CAT(BOOST_PP_CAT(NAME, _impl_), N) \
+ detail1:: BOOST_PP_CAT(BOOST_PP_CAT(NAME, _impl_), N) \
, BOOST_PHOENIX_A(N)>::type const \
NAME(BOOST_PHOENIX_A_const_ref_a(N)) \
{ \
return boost::phoenix::detail::expression:: \
function_eval< \
- detail:: BOOST_PP_CAT(BOOST_PP_CAT(NAME, _impl_), N) \
+ detail1:: BOOST_PP_CAT(BOOST_PP_CAT(NAME, _impl_), N) \
, BOOST_PHOENIX_A(N) \
>::make( \
- detail:: BOOST_PP_CAT(BOOST_PP_CAT(NAME, _impl_), N)() \
+ detail1:: BOOST_PP_CAT(BOOST_PP_CAT(NAME, _impl_), N)() \
, BOOST_PHOENIX_a(N) \
); \
} \