Guard use of concepts with feature test macro
authorJonathan Wakely <jwakely@redhat.com>
Fri, 25 Oct 2019 13:29:37 +0000 (14:29 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 25 Oct 2019 13:29:37 +0000 (14:29 +0100)
commitf4568f030ec2f2e97e73031562c5d5392595bd23
tree55332f00ba4b5e9b865820b01c159c2cda0d9aeb
parent7098ab48b08782af5016dc8ac6d10215994447a4
Guard use of concepts with feature test macro

This fixes a regression when using Clang.

* include/bits/range_cmp.h: Check __cpp_lib_concepts before defining
concepts. Fix comment.

From-SVN: r277449
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/range_cmp.h