mirror of
https://github.com/boostorg/iterator.git
synced 2026-01-19 16:22:20 +00:00
The new min_category is similar to minimum_category but accepts variable number of iterator categories on input instead of just two, and also does not depend on Boost.MPL for lambda placeholders. The existing minimum_category trait has been reimplemented in terms of min_category and deprecated. We don't yet emit deprecation warnings as there is still code that uses the old trait which we first need to update. Eventually, minimum_category will emit warnings and will be removed.
17 lines
350 B
C++
17 lines
350 B
C++
// Copyright Andrey Semashev 2025.
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#include <boost/iterator/min_category.hpp>
|
|
|
|
using boost::iterators::min_category;
|
|
|
|
int main(int, char*[])
|
|
{
|
|
min_category<>::type cat;
|
|
|
|
return 0;
|
|
}
|