1
0
Fork 0
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:
bolero-MURAKAMI 2016-04-14 20:14:49 +09:00
parent 58b33d31c5
commit 75e164418b
12 changed files with 180 additions and 214 deletions

View file

@ -23,7 +23,7 @@ namespace sprout {
// ADL callable range_nth(cont, i) -> range_nth(cont, i)
// [default]
// Container is T[N] -> iterator(cont) + i
// callable cont.nth(i) -> cont.nth(i)
// otherwise, callable cont.nth(i) -> cont.nth(i)
// otherwise -> sprout::next(sprout::begin(cont), i)
//
template<typename Container>