public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Remove incorrect comment
@ 2019-11-05 15:55 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2019-11-05 15:55 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

The negative concept is required for subsumption to work, it's not a
bug.

	* include/bits/iterator_concepts.h (__iter_without_nested_types):
	Remove incorrect comment.

Tested powerpc64le-linux, committed to trunk.



[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 890 bytes --]

commit 8a6c34baf551214cac8d328963b2fa58088785b7
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Nov 5 11:16:26 2019 +0000

    Remove incorrect comment
    
    The negative concept is required for subsumption to work, it's not a
    bug.
    
            * include/bits/iterator_concepts.h (__iter_without_nested_types):
            Remove incorrect comment.

diff --git a/libstdc++-v3/include/bits/iterator_concepts.h b/libstdc++-v3/include/bits/iterator_concepts.h
index 323689e63ea..e30645e05cf 100644
--- a/libstdc++-v3/include/bits/iterator_concepts.h
+++ b/libstdc++-v3/include/bits/iterator_concepts.h
@@ -309,7 +309,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 	typename _Iter::reference;
       };
 
-    // FIXME: needed due to PR c++/92102
     template<typename _Iter>
       concept __iter_without_nested_types = !__iter_with_nested_types<_Iter>;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-05 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 15:55 [PATCH] Remove incorrect comment 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).