Moved minimum_category to the public namespace. Added tests.

This commit is contained in:
Andrey Semashev
2014-07-19 21:39:49 +04:00
parent 8fe632d6b1
commit f158dba6ad
7 changed files with 72 additions and 36 deletions

View File

@ -7,7 +7,7 @@
#include "static_assert_same.hpp"
#include <boost/iterator/detail/minimum_category.hpp>
#include <boost/iterator/minimum_category.hpp>
struct X { int a; };
@ -29,7 +29,7 @@ void operator_arrow_test()
template <class T, class U, class Min>
struct static_assert_min_cat
: static_assert_same<
typename boost::iterators::detail::minimum_category<T,U>::type, Min
typename boost::iterators::minimum_category<T,U>::type, Min
>
{};