public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [pushed 1/2] libstdc++: rename _A badname in <generator>
@ 2024-01-04 18:52 Arsen Arsenović
  2024-01-04 18:52 ` [pushed 2/2] libstdc++: fix typo " Arsen Arsenović
  0 siblings, 1 reply; 2+ messages in thread
From: Arsen Arsenović @ 2024-01-04 18:52 UTC (permalink / raw)
  To: gcc-patches; +Cc: Arsen Arsenović

libstdc++-v3/ChangeLog:

	* include/std/generator (_Stateless_alloc): Rename typename _A
	to _All.
---
Pushed as obvious.

Happy new year, have a lovely day!

 libstdc++-v3/include/std/generator | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libstdc++-v3/include/std/generator b/libstdc++-v3/include/std/generator
index e1c1ad583abb..a8ad9c443531 100644
--- a/libstdc++-v3/include/std/generator
+++ b/libstdc++-v3/include/std/generator
@@ -405,9 +405,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       }
     };
 
-    template<typename _A>
-    concept _Stateless_alloc = (allocator_traits<_A>::is_always_equal::value
-				&& default_initializable<_A>);
+    template<typename _All>
+    concept _Stateless_alloc = (allocator_traits<_All>::is_always_equal::value
+				&& default_initializable<_All>);
 
     template<typename _Alloc>
       class _Promise_alloc
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pushed 2/2] libstdc++: fix typo in <generator>
  2024-01-04 18:52 [pushed 1/2] libstdc++: rename _A badname in <generator> Arsen Arsenović
@ 2024-01-04 18:52 ` Arsen Arsenović
  0 siblings, 0 replies; 2+ messages in thread
From: Arsen Arsenović @ 2024-01-04 18:52 UTC (permalink / raw)
  To: gcc-patches; +Cc: Arsen Arsenović

libstdc++-v3/ChangeLog:

	* include/std/generator (_Subyield_state::_M_jump_in): Fix typo
	reported by Will Hawkins <hawkinsw@obs.cr>.
---
 libstdc++-v3/include/std/generator | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/std/generator b/libstdc++-v3/include/std/generator
index a8ad9c443531..e7ef5ddfdd34 100644
--- a/libstdc++-v3/include/std/generator
+++ b/libstdc++-v3/include/std/generator
@@ -269,7 +269,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 	{
 	  __glibcxx_assert(&__new.promise()._M_nest == this);
 	  __glibcxx_assert(this->_M_is_bottom());
-	  // We're bottom.  We're also top of top is unset (note that this is
+	  // We're bottom.  We're also top if top is unset (note that this is
 	  // not true if something was added to the coro stack and then popped,
 	  // but in that case we can't possibly be yielded from, as it would
 	  // require rerunning begin()).
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-04 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-04 18:52 [pushed 1/2] libstdc++: rename _A badname in <generator> Arsen Arsenović
2024-01-04 18:52 ` [pushed 2/2] libstdc++: fix typo " Arsen Arsenović

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).