forked from boostorg/iterator
Extracted min_category as a variadic metafunction.
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.
This commit is contained in:
@@ -61,6 +61,9 @@ test-suite iterator
|
||||
|
||||
[ run generator_iterator_test.cpp ]
|
||||
|
||||
[ run min_category.cpp ]
|
||||
[ compile-fail min_category_compile_fail1.cpp ]
|
||||
[ compile-fail min_category_compile_fail2.cpp ]
|
||||
[ run minimum_category.cpp ]
|
||||
[ compile-fail minimum_category_compile_fail.cpp ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user