sprout/checksum/sha1.hpp 追加

sprout/null_array.hpp -> sprout/pit.hpp リネーム
sprout/uuid.hpp 追加
This commit is contained in:
bolero-MURAKAMI 2011-10-25 18:16:27 +09:00
parent 9074c9a1cf
commit 0f8db75fca
22 changed files with 2126 additions and 86 deletions

View file

@ -126,6 +126,17 @@ namespace sprout {
? false
: sprout::detail::lexicographical_compare(sprout::next(first1), last1, sprout::next(first2), last2, comp);
}
//
// find
//
template<typename Iterator, typename T>
SPROUT_CONSTEXPR Iterator find(Iterator first, Iterator last, T const& value) {
return first == last || *first == value
? first
: sprout::detail::find(sprout::next(first), last, value)
;
}
} // namespace detail
} // namespace sprout