[Bug c++/79433] __has_include reports wrong result for std headers that #error on __cplusplus

marc.mutz at kdab dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 8 19:31:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433

--- Comment #2 from Marc Mutz <marc.mutz at kdab dot com> ---
Ok, there is __cpp_lib_experimental_string_view, at least, but it's defined ...
wait for it ... in <experimental/string_view>, which you can't include.


More information about the Gcc-bugs mailing list