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
|
@ -23,7 +23,9 @@ namespace sprout {
|
|||
// ADL callable range_begin(cont) -> range_begin(cont)
|
||||
// [default]
|
||||
// Container is T[N] -> iterator(cont)
|
||||
// otherwise -> cont.begin()
|
||||
// otherwise, ADL callable begin(cont) -> begin(cont)
|
||||
// otherwise, callabe cont.begin() -> cont.begin()
|
||||
// otherwise -> std::begin(cont)
|
||||
//
|
||||
template<typename Container>
|
||||
inline SPROUT_CONSTEXPR typename sprout::container_traits<Container>::iterator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue