mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-06 14:24:09 +00:00
fix index_tuple
This commit is contained in:
parent
48f1b2d615
commit
ee8602f6a3
42 changed files with 927 additions and 101 deletions
|
@ -23,6 +23,17 @@ namespace sprout {
|
|||
unique_copy(Input const& input, Result const& result) {
|
||||
return sprout::fixed::unique_copy(sprout::begin(input), sprout::end(input), result);
|
||||
}
|
||||
|
||||
template<typename Result, typename Input, typename BinaryPredicate>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type
|
||||
unique_copy(Input const& input, BinaryPredicate pred) {
|
||||
return sprout::fixed::unique_copy<Result>(sprout::begin(input), sprout::end(input), pred);
|
||||
}
|
||||
template<typename Result, typename Input>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type
|
||||
unique_copy(Input const& input) {
|
||||
return sprout::fixed::unique_copy<Result>(sprout::begin(input), sprout::end(input));
|
||||
}
|
||||
} // namespace fixed
|
||||
|
||||
using sprout::range::fixed::unique_copy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue