Added a workaround for boost/token_iteratpr.hpp which uses an implementation detail of this library.

This commit is contained in:
Andrey Semashev
2014-07-07 22:22:28 +04:00
parent 4a403cd3eb
commit 269de2691a

View File

@ -89,6 +89,15 @@ struct minimum_category<mpl::_1,mpl::_2>
BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(2,minimum_category,(mpl::_1,mpl::_2))
};
}}} // namespace boost::iterators::detail
} // namespace detail
} // namespace iterators
// This import below is for backward compatibility with boost/token_iterator.hpp.
// It should be removed as soon as that header is fixed.
namespace detail {
using iterators::detail::minimum_category;
} // namespace detail
} // namespace boost
#endif // MINIMUM_CATEGORY_DWA20031119_HPP