mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
change begin, end traits
This commit is contained in:
parent
e5637554d1
commit
a6d46d4ffa
9 changed files with 445 additions and 5 deletions
|
@ -22,8 +22,10 @@ namespace sprout {
|
|||
// [default]
|
||||
// ADL callable range_end(cont) -> range_end(cont)
|
||||
// [default]
|
||||
// Container is T[N] -> iterator(cont) + N
|
||||
// otherwise -> cont.end()
|
||||
// Container is T[N] -> iterator(cont)
|
||||
// otherwise, ADL callable end(cont) -> end(cont)
|
||||
// otherwise, callabe cont.end() -> cont.end()
|
||||
// otherwise -> std::end(cont)
|
||||
//
|
||||
template<typename Container>
|
||||
inline SPROUT_CONSTEXPR typename sprout::container_traits<Container>::iterator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue