mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-08-29 14:50:52 +00:00
sprout/checksum/sha1.hpp 追加
sprout/null_array.hpp -> sprout/pit.hpp リネーム sprout/uuid.hpp 追加
This commit is contained in:
parent
9074c9a1cf
commit
0f8db75fca
22 changed files with 2126 additions and 86 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue