mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-06 14:24:09 +00:00
fix inline
add container/indexes.hpp add tuple/indexes.hpp
This commit is contained in:
parent
ba6482d1ec
commit
c6bd230ee4
340 changed files with 1087 additions and 979 deletions
|
@ -9,7 +9,7 @@ namespace sprout {
|
|||
|
||||
// 25.2.1 All of
|
||||
template<typename InputIterator, typename Predicate>
|
||||
SPROUT_CONSTEXPR bool all_of(InputIterator first, InputIterator last, Predicate pred) {
|
||||
inline SPROUT_CONSTEXPR bool all_of(InputIterator first, InputIterator last, Predicate pred) {
|
||||
return first == last ? true
|
||||
: pred(*first) == true && sprout::all_of(sprout::next(first), last, pred)
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue