mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-09 23:23:54 +00:00
parent
daac0f2ab1
commit
09549a613e
11
include/boost/iterator/detail/facade_iterator_category.hpp
Executable file → Normal file
11
include/boost/iterator/detail/facade_iterator_category.hpp
Executable file → Normal file
@ -73,15 +73,8 @@ struct iterator_writability_disabled
|
||||
// Convert an iterator_facade's traversal category, Value parameter,
|
||||
// and ::reference type to an appropriate old-style category.
|
||||
//
|
||||
// If writability has been disabled per the above metafunction, the
|
||||
// result will not be convertible to output_iterator_tag.
|
||||
//
|
||||
// Otherwise, if Traversal == single_pass_traversal_tag, the following
|
||||
// conditions will result in a tag that is convertible both to
|
||||
// input_iterator_tag and output_iterator_tag:
|
||||
//
|
||||
// 1. Reference is a reference to non-const
|
||||
// 2. Reference is not a reference and is convertible to Value
|
||||
// Due to changeset 21683, this now never results in a category convertible
|
||||
// to output_iterator_tag.
|
||||
//
|
||||
template <class Traversal, class ValueParam, class Reference>
|
||||
struct iterator_facade_default_category
|
||||
|
Loading…
x
Reference in New Issue
Block a user