Skip to content

[algorithm.syn] Align some format #5823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions source/algorithms.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@
class Proj1 = identity, class Proj2 = identity,
@\libconcept{indirect_equivalence_relation}@<projected<iterator_t<R1>, Proj1>,
projected<iterator_t<R2>, Proj2>>
Pred = ranges::equal_to>
Pred = ranges::equal_to>
constexpr bool is_permutation(R1&& r1, R2&& r2, Pred pred = {},
Proj1 proj1 = {}, Proj2 proj2 = {});
}
Expand Down Expand Up @@ -1267,15 +1267,15 @@
constexpr auto fold_left_first(R&& r, F f);

template<@\libconcept{bidirectional_iterator}@ I, @\libconcept{sentinel_for}@<I> S, class T,
@\exposconcept{indirectly-binary-right-foldable}@<T, I> F>
@\exposconcept{indirectly-binary-right-foldable}@<T, I> F>
constexpr auto fold_right(I first, S last, T init, F f);

template<@\libconcept{bidirectional_range}@ R, class T,
@\exposconcept{indirectly-binary-right-foldable}@<T, iterator_t<R>> F>
@\exposconcept{indirectly-binary-right-foldable}@<T, iterator_t<R>> F>
constexpr auto fold_right(R&& r, T init, F f);

template<@\libconcept{bidirectional_iterator}@ I, @\libconcept{sentinel_for}@<I> S,
@\exposconcept{indirectly-binary-right-foldable}@<iter_value_t<I>, I> F>
@\exposconcept{indirectly-binary-right-foldable}@<iter_value_t<I>, I> F>
requires @\libconcept{constructible_from}@<iter_value_t<I>, iter_reference_t<I>>
constexpr auto fold_right_last(I first, S last, F f);

Expand All @@ -1290,7 +1290,7 @@
using fold_left_first_with_iter_result = in_value_result<I, T>;

template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S, class T,
@\exposconcept{indirectly-binary-left-foldable}@<T, I> F>
@\exposconcept{indirectly-binary-left-foldable}@<T, I> F>
constexpr @\seebelow@ fold_left_with_iter(I first, S last, T init, F f);

template<@\libconcept{input_range}@ R, class T, @\exposconcept{indirectly-binary-left-foldable}@<T, iterator_t<R>> F>
Expand Down