mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +00:00
fix template-parameter name: Iterator, Range
This commit is contained in:
parent
ddccff51e6
commit
21cefe8a67
62 changed files with 809 additions and 784 deletions
|
@ -11,9 +11,9 @@ namespace sprout {
|
|||
// Copyright (C) 2011 RiSK (sscrisk)
|
||||
|
||||
// 25.2.9 Count
|
||||
template<typename Range, typename T>
|
||||
inline SPROUT_CONSTEXPR typename sprout::container_traits<Range const>::difference_type
|
||||
count(Range const& range, T const& value) {
|
||||
template<typename InputRange, typename T>
|
||||
inline SPROUT_CONSTEXPR typename sprout::container_traits<InputRange const>::difference_type
|
||||
count(InputRange const& range, T const& value) {
|
||||
return sprout::count(sprout::begin(range), sprout::end(range), value);
|
||||
}
|
||||
} // namespace range
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue