summaryrefslogtreecommitdiff
path: root/boost/pointee.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/pointee.hpp')
-rw-r--r--boost/pointee.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/boost/pointee.hpp b/boost/pointee.hpp
index 9794b8e7db..0f561b8b3c 100644
--- a/boost/pointee.hpp
+++ b/boost/pointee.hpp
@@ -20,7 +20,7 @@
# include <boost/mpl/if.hpp>
# include <boost/mpl/eval_if.hpp>
-namespace boost {
+namespace boost {
namespace detail
{
@@ -34,25 +34,25 @@ namespace detail
struct iterator_pointee
{
typedef typename iterator_traits<Iterator>::value_type value_type;
-
+
struct impl
{
template <class T>
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<Iterator>::is_constant
# else
is_constant
-# endif
+# endif
, typename add_const<value_type>::type
, value_type
>::type type;
@@ -68,7 +68,7 @@ struct pointee
>
{
};
-
+
} // namespace boost
#endif // POINTEE_DWA200415_HPP