Fix compilation errors with Clang
authorJonathan Wakely <jwakely@redhat.com>
Tue, 29 Oct 2019 20:17:02 +0000 (20:17 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 29 Oct 2019 20:17:02 +0000 (20:17 +0000)
commit6cd96bad607c5d6a2302e97ab6f749edb85b82ed
treedfb215775ffe9bf0db722b63ec9e467cb14ebdfd
parent540218dd246231a52e377d42e81f467bd7d73b46
Fix compilation errors with Clang

* include/bits/range_access.h (ranges::disable_sized_range)
(ranges::begin, ranges::end, ranges::cbegin, ranges::cend)
(ranges::rbegin, ranges::rend, ranges::crbegin, ranges::crend)
(ranges::size, ranges::empty, ranges::data, ranges::cdata)
(ranges::range, ranges::sized_range, ranges::advance, ranges::distance)
(ranges::next, ranges::prev): Guard with __cpp_lib_concepts.
* include/bits/stl_iterator.h (disable_sized_sentinel): Likewise.

From-SVN: r277589
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/range_access.h
libstdc++-v3/include/bits/stl_iterator.h