diff --git a/include/boost/iterator/detail/enable_if.hpp b/include/boost/iterator/detail/enable_if.hpp index dee66ba..071f5fe 100644 --- a/include/boost/iterator/detail/enable_if.hpp +++ b/include/boost/iterator/detail/enable_if.hpp @@ -35,7 +35,7 @@ namespace boost typedef T type; }; }; - + // // For compilers that don't support "Substitution Failure Is Not An Error" // enable_if falls back to always enabled. See comments @@ -70,7 +70,7 @@ namespace boost : enabled<(Cond::value)>::template base # else : mpl::identity -# endif +# endif { }; diff --git a/include/boost/pointee.hpp b/include/boost/pointee.hpp index 9794b8e..0f561b8 100644 --- a/include/boost/pointee.hpp +++ b/include/boost/pointee.hpp @@ -20,7 +20,7 @@ # include # include -namespace boost { +namespace boost { namespace detail { @@ -34,25 +34,25 @@ namespace detail struct iterator_pointee { typedef typename iterator_traits::value_type value_type; - + struct impl { template static char test(T const&); - + static char (& test(value_type&) )[2]; - + static Iterator& x; }; - + BOOST_STATIC_CONSTANT(bool, is_constant = sizeof(impl::test(*impl::x)) == 1); - + typedef typename mpl::if_c< # if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) ::boost::detail::iterator_pointee::is_constant # else is_constant -# endif +# endif , typename add_const::type , value_type >::type type; @@ -68,7 +68,7 @@ struct pointee > { }; - + } // namespace boost #endif // POINTEE_DWA200415_HPP