aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-11-05 15:56:47 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-11-05 15:56:47 +0000
commit6762b658746490a857cac484192c2ef8cc9cadba (patch)
treeaf7ab0f8fcf8ccfdbbc474e96a621f1792d52ba7
parent028d81b1599c365d8c60222ec5631a8f111d8574 (diff)
downloadgcc-6762b658746490a857cac484192c2ef8cc9cadba.zip
gcc-6762b658746490a857cac484192c2ef8cc9cadba.tar.gz
gcc-6762b658746490a857cac484192c2ef8cc9cadba.tar.bz2
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. From-SVN: r277848
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/bits/iterator_concepts.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 400a0d0..c83c372 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-05 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/iterator_concepts.h (__iter_without_nested_types):
+ Remove incorrect comment.
+
2019-10-31 Jonathan Wakely <jwakely@redhat.com>
* doc/html/*: Regenerate.
diff --git a/libstdc++-v3/include/bits/iterator_concepts.h b/libstdc++-v3/include/bits/iterator_concepts.h
index 323689e..e30645e 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>;