Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-15 08:38:52

0001 // Copyright David Abrahams 2003. Use, modification and distribution is
0002 // subject to the Boost Software License, Version 1.0. (See accompanying
0003 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0004 #ifndef BOOST_ITERATOR_MINIMUM_CATEGORY_HPP_INCLUDED_
0005 #define BOOST_ITERATOR_MINIMUM_CATEGORY_HPP_INCLUDED_
0006 
0007 #include <boost/mpl/arg_fwd.hpp>
0008 #include <boost/iterator/min_category.hpp>
0009 
0010 namespace boost {
0011 namespace iterators {
0012 
0013 // Deprecated metafunction for selecting minimum iterator category,
0014 // use min_category instead.
0015 template< class T1 = mpl::arg<1>, class T2 = mpl::arg<2> >
0016 struct minimum_category :
0017     public min_category<T1, T2>
0018 {
0019 };
0020 
0021 template <>
0022 struct minimum_category< mpl::arg<1>, mpl::arg<2> >
0023 {
0024     template <class T1, class T2>
0025     struct apply :
0026         public min_category<T1, T2>
0027     {};
0028 };
0029 
0030 } // namespace iterators
0031 } // namespace boost
0032 
0033 #endif // BOOST_ITERATOR_MINIMUM_CATEGORY_HPP_INCLUDED_