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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Christopher Friedt from comment #0)
> It's not clear to me if any part of the ISO C++ standard requires a C++
> compiler to parse C11 _Generic,

It's very clear that it doesn't, _Generic is never mentioned anywhere in the
C++ standard.

> but it certainly can make life less
> pleasant, as the equivalent C++ code can sometimes rely on static inline
> constexpr templates which are apparently "not cool" until C++14. This

Why not? What exactly is the equivalent code you're referring to?

C++ has never needed _Generic because it supports function overloading.

Reply via email to