Skip to content

Commit

Permalink
format it
Browse files Browse the repository at this point in the history
  • Loading branch information
strega-nil committed Jul 18, 2024
1 parent 86a52f5 commit 89c15f3
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,14 @@ constexpr bool all_the_algorithms()
(void)std::ranges::find_if_not(first, last, UnaryTrue(&copies)); assert(copies == 0);
(void)std::ranges::find_if_not(a, UnaryTrue(&copies)); assert(copies == 0);
#if TEST_STD_VER >= 23
(void)std::ranges::find_last_if(first, last, UnaryTrue(&copies)); assert(copies == 0);
(void)std::ranges::find_last_if(a, UnaryTrue(&copies)); assert(copies == 0);
(void)std::ranges::find_last_if_not(first, last, UnaryTrue(&copies)); assert(copies == 0);
(void)std::ranges::find_last_if_not(a, UnaryTrue(&copies)); assert(copies == 0);
(void)std::ranges::find_last_if(first, last, UnaryTrue(&copies));
assert(copies == 0);
(void)std::ranges::find_last_if(a, UnaryTrue(&copies));
assert(copies == 0);
(void)std::ranges::find_last_if_not(first, last, UnaryTrue(&copies));
assert(copies == 0);
(void)std::ranges::find_last_if_not(a, UnaryTrue(&copies));
assert(copies == 0);
#endif
(void)std::ranges::for_each(first, last, UnaryVoid(&copies)); assert(copies == 1); copies = 0;
(void)std::ranges::for_each(a, UnaryVoid(&copies)); assert(copies == 1); copies = 0;
Expand Down

0 comments on commit 89c15f3

Please sign in to comment.