From a09d210567dfcd9c1c63b255dbaec84537f6b458 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 22 Nov 2022 06:36:17 -0800 Subject: container.h: fix incorrect comments about the location of algorithms. PiperOrigin-RevId: 490228223 Change-Id: Iec5af16531132a903aaa3e584dd87b03feb2c0c7 --- absl/algorithm/container.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/absl/algorithm/container.h b/absl/algorithm/container.h index 26b19529..1f57dabf 100644 --- a/absl/algorithm/container.h +++ b/absl/algorithm/container.h @@ -1655,7 +1655,7 @@ bool c_prev_permutation(C& c, LessThan&& comp) { // c_iota() // -// Container-based version of the `std::iota()` function +// Container-based version of the `std::iota()` function // to compute successive values of `value`, as if incremented with `++value` // after each element is written. and write them to the container. template @@ -1666,7 +1666,7 @@ void c_iota(Sequence& sequence, T&& value) { } // c_accumulate() // -// Container-based version of the `std::accumulate()` function +// Container-based version of the `std::accumulate()` function // to accumulate the element values of a container to `init` and return that // accumulation by value. // @@ -1693,7 +1693,7 @@ decay_t c_accumulate(const Sequence& sequence, T&& init, // c_inner_product() // -// Container-based version of the `std::inner_product()` function +// Container-based version of the `std::inner_product()` function // to compute the cumulative inner product of container element pairs. // // Note: Due to a language technicality this function has return type @@ -1724,7 +1724,7 @@ decay_t c_inner_product(const Sequence1& factors1, const Sequence2& factors2, // c_adjacent_difference() // -// Container-based version of the `std::adjacent_difference()` +// Container-based version of the `std::adjacent_difference()` // function to compute the difference between each element and the one preceding // it and write it to an iterator. template @@ -1747,7 +1747,7 @@ OutputIt c_adjacent_difference(const InputSequence& input, // c_partial_sum() // -// Container-based version of the `std::partial_sum()` function +// Container-based version of the `std::partial_sum()` function // to compute the partial sum of the elements in a sequence and write them // to an iterator. The partial sum is the sum of all element values so far in // the sequence. -- cgit v1.2.3