mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
change generator_access_traits adapt
This commit is contained in:
parent
7f137c0a83
commit
2fe34cc922
4 changed files with 117 additions and 0 deletions
|
@ -28,6 +28,7 @@ namespace sprout {
|
|||
// && callable sprout::as_const(t).next_generator()
|
||||
// -> sprout::const_reference_cast<decltype(std::declval<T&>().next_generator())>(sprout::as_const(cont).next_generator())
|
||||
// otherwise, callable t.next_generator() -> t.next_generator()
|
||||
// otherwise, T is InputIterator -> sprout::next(t)
|
||||
// otherwise -> sprout::tuples::get<0>(t)
|
||||
//
|
||||
template<typename T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue