fix inline

add container/indexes.hpp
add tuple/indexes.hpp
This commit is contained in:
bolero-MURAKAMI 2012-04-04 22:23:41 +09:00
parent ba6482d1ec
commit c6bd230ee4
340 changed files with 1087 additions and 979 deletions

View file

@ -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)
;