Typo in comment in stl_algo.h's any_of

Nuno Lopes nuno.lopes@ist.utl.pt
Tue Oct 13 18:23:13 GMT 2020


Hi,

There's a typo in the comment of any_of in stl_algo.h.
Here's a trivial patch:

--- stl_algo.h.old      2020-10-13 19:16:48.836304600 +0100
+++ stl_algo.h  2020-10-13 19:17:27.357511100 +0100
@@ -471,7 +471,7 @@
     { return __last == _GLIBCXX_STD_A::find_if(__first, __last, __pred); }

   /**
-   *  @brief  Checks that a predicate is false for at least an element
+   *  @brief  Checks that a predicate is true for at least an element
    *          of a sequence.
    *  @ingroup non_mutating_algorithms
    *  @param  __first   An input iterator.


Thanks,
Nuno



More information about the Libstdc++ mailing list