libstdc++: cv bool can't be an integer-like type (LWG 3467)
authorJonathan Wakely <jwakely@redhat.com>
Thu, 30 Jul 2020 11:23:55 +0000 (12:23 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 30 Jul 2020 12:09:18 +0000 (13:09 +0100)
commit9e67b4356efe4291fdb170fb116092f4ed9d2f05
tree3baed627d75d55d30e701e032ac5d86376dfa9e6
parenteeb45f8a41f7214d86824444151bff7c7f00b06a
libstdc++: cv bool can't be an integer-like type (LWG 3467)

libstdc++-v3/ChangeLog:

* include/bits/iterator_concepts.h (__detail::__cv_bool): New
helper concept.
(__detail::__integral_nonbool): Likewise.
(__detail::__is_integer_like): Use __integral_nonbool.
* testsuite/std/ranges/access/lwg3467.cc: New test.
libstdc++-v3/include/bits/iterator_concepts.h
libstdc++-v3/testsuite/std/ranges/access/lwg3467.cc [new file with mode: 0644]