mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-07-02 14:04:09 +00:00
rename reduct_iterator -> reduce_iterator
This commit is contained in:
parent
64ca12a984
commit
fc0a1817d5
46 changed files with 1413 additions and 1413 deletions
|
@ -44,8 +44,8 @@ namespace testspr {
|
|||
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto found = sprout::equal_range(
|
||||
testspr::reduct_forward(sprout::begin(arr1)),
|
||||
testspr::reduct_forward(sprout::end(arr1)),
|
||||
testspr::reduce_forward(sprout::begin(arr1)),
|
||||
testspr::reduce_forward(sprout::end(arr1)),
|
||||
7
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(found.first.base() == sprout::begin(arr1) + 6);
|
||||
|
@ -54,8 +54,8 @@ namespace testspr {
|
|||
}
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto found = sprout::equal_range(
|
||||
testspr::reduct_forward(sprout::begin(arr1)),
|
||||
testspr::reduct_forward(sprout::begin(arr1) + 5),
|
||||
testspr::reduce_forward(sprout::begin(arr1)),
|
||||
testspr::reduce_forward(sprout::begin(arr1) + 5),
|
||||
7,
|
||||
testspr::less<int>()
|
||||
);
|
||||
|
@ -66,8 +66,8 @@ namespace testspr {
|
|||
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto found = sprout::equal_range(
|
||||
testspr::reduct_random_access(sprout::begin(arr1)),
|
||||
testspr::reduct_random_access(sprout::end(arr1)),
|
||||
testspr::reduce_random_access(sprout::begin(arr1)),
|
||||
testspr::reduce_random_access(sprout::end(arr1)),
|
||||
7
|
||||
);
|
||||
TESTSPR_BOTH_ASSERT(found.first.base() == sprout::begin(arr1) + 6);
|
||||
|
@ -76,8 +76,8 @@ namespace testspr {
|
|||
}
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto found = sprout::equal_range(
|
||||
testspr::reduct_random_access(sprout::begin(arr1)),
|
||||
testspr::reduct_random_access(sprout::begin(arr1) + 5),
|
||||
testspr::reduce_random_access(sprout::begin(arr1)),
|
||||
testspr::reduce_random_access(sprout::begin(arr1) + 5),
|
||||
7,
|
||||
testspr::less<int>()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue