[Bug libstdc++/97935] Missing subsumption in iterator category detection
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 25 17:41:20 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97935
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:9d908b7fc475b351622fa5630d4874068c789d70
commit r11-5381-g9d908b7fc475b351622fa5630d4874068c789d70
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Nov 25 17:18:44 2020 +0000
libstdc++: Fix missing subsumption in std::iterator_traits [PR 97935]
libstdc++-v3/ChangeLog:
PR libstdc++/97935
* include/bits/iterator_concepts.h
(__detail::__iter_without_category):
New helper concept.
(__iterator_traits::__cat): Use __detail::__iter_without_category.
* testsuite/24_iterators/associated_types/iterator.traits.cc: New
test.
More information about the Gcc-bugs
mailing list