1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add container_range_traits default

This commit is contained in:
bolero-MURAKAMI 2016-04-18 00:34:15 +09:00
parent 0080332dd5
commit 8efb1a3748
23 changed files with 1822 additions and 1384 deletions

View file

@ -22,7 +22,7 @@ namespace sprout {
// [default]
// ADL callable range_at(cont, i) -> range_at(cont, i)
// [default]
// Container is T[N] -> cont[i]
// Container is T[N] -> cont[sprout::range_index_check(cont, i)]
// otherwise, Container is not const
// && sprout::is_const_cast_convertible<const_reference, reference>
// && (callable sprout::as_const(cont).at(i)