mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
change generator access tarits
This commit is contained in:
parent
58b33d31c5
commit
75e164418b
12 changed files with 180 additions and 214 deletions
|
@ -162,7 +162,7 @@ namespace sprout {
|
|||
//
|
||||
// effect:
|
||||
// ADL callable iterator_next(it) -> iterator_next(it)
|
||||
// it is RandomAccessIterator -> it + 1
|
||||
// otherwise, InputIterator is RandomAccessIterator -> it + 1
|
||||
// otherwise -> cxx14_next(it)
|
||||
//
|
||||
template<typename InputIterator>
|
||||
|
|
|
@ -137,7 +137,7 @@ namespace sprout {
|
|||
//
|
||||
// effect:
|
||||
// ADL callable iterator_prev(it) -> iterator_prev(it)
|
||||
// it is RandomAccessIterator -> it - 1
|
||||
// otherwise, BidirectionalIterator is RandomAccessIterator -> it - 1
|
||||
// otherwise -> cxx14_prev(it)
|
||||
//
|
||||
template<typename BidirectionalIterator>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue