boost_concept_check.h
26.5 KB
-
libstdc++: Make _GLIBCXX_CONCEPT_CHECKS more constexpr-friendly · eb8e6a30
Although most of the old-style "concept checks" are only really usable with C++98 because they enforce the wrong things, this is a simple change that makes them a bit more useful for C++14 and up. * include/bits/boost_concept_check.h (__function_requires): Add _GLIBCXX14_CONSTEXPR. * testsuite/25_algorithms/min/concept_checks.cc: New test.
Jonathan Wakely committed