public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r9-9371] libstdc++: Fix doxygen comment for std::any_of
@ 2021-04-20 18:52 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-04-20 18:52 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:db5804d6ccd7704165695c3c2083ac33d96f6336
commit r9-9371-gdb5804d6ccd7704165695c3c2083ac33d96f6336
Author: Nuno Lopes <nuno.lopes@ist.utl.pt>
Date: Tue Oct 13 20:21:55 2020 +0100
libstdc++: Fix doxygen comment for std::any_of
libstdc++-v3/ChangeLog:
* include/bits/stl_algo.h (any_of): Fix incorrect description
in comment.
(cherry picked from commit 5204cc561a8d3c1a671969715ceb507ece8edef7)
Diff:
---
libstdc++-v3/include/bits/stl_algo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/include/bits/stl_algo.h b/libstdc++-v3/include/bits/stl_algo.h
index 48fde9d2627..0b1576be98c 100644
--- a/libstdc++-v3/include/bits/stl_algo.h
+++ b/libstdc++-v3/include/bits/stl_algo.h
@@ -526,7 +526,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ 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 one element
* of a sequence.
* @ingroup non_mutating_algorithms
* @param __first An input iterator.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-20 18:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 18:52 [gcc r9-9371] libstdc++: Fix doxygen comment for std::any_of Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).