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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to rhalbersma from comment #0)
> I'm a happy user of std::views::zip in gcc-latest but AFAICS the feature
> test macro __cpp_lib_ranges_zip is not yet defined, neither in <ranges>,
> <tuple>, <utility>, nor in <version>. This makes it hard #ifdedf my code on
> this feature. 

I'm not sure if the feature is actually complete yet. It wasn't all done in a
single patch.


> Just for my curiosity: is it generally the case that feature test macros are
> being added along with the feature completeness? Or should I condition my
> mixed C++20/C++23 code in another way?

This should be pretty obvious from looking at <version>. GCC has always led the
way in defining feature test macros.

Reply via email to