* include/bits/stl_iterator.h (__normal_iterator::iterator_concept):
Guard with __cpp_lib_concepts macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277634
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
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