Fix another compilation error with Clang
* include/bits/stl_iterator.h (__normal_iterator::iterator_concept): Guard with __cpp_lib_concepts macro. From-SVN: r277634
This commit is contained in:
parent
0d58d88db6
commit
411679568b
@ -1,5 +1,8 @@
|
||||
2019-10-30 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/stl_iterator.h (__normal_iterator::iterator_concept):
|
||||
Guard with __cpp_lib_concepts macro.
|
||||
|
||||
* include/std/bit (__cpp_lib_bitops): Define.
|
||||
* include/std/version (__cpp_lib_constexpr): Remove.
|
||||
(__cpp_lib_bitops, __cpp_lib_constexpr_dynamic_alloc): Define.
|
||||
|
@ -809,7 +809,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
typedef typename __traits_type::reference reference;
|
||||
typedef typename __traits_type::pointer pointer;
|
||||
|
||||
#if __cplusplus > 201703L
|
||||
#if __cplusplus > 201703L && __cpp_lib_concepts
|
||||
using iterator_concept = std::__detail::__iter_concept<_Iterator>;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user