Trim spaces.

This commit is contained in:
Andrey Semashev
2014-07-03 00:36:44 +04:00
parent dc96d371fa
commit 4a403cd3eb
2 changed files with 10 additions and 10 deletions

View File

@ -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