Re:New C features in GCC 13
by hgs3 on Thursday May 04, 2023 @09:12AM
(#35814727)
typeof and auto are useful for writing type-generic macros.
[ Parent
| on HN ]
Yeah but looking how auto has been abused in C++ I don't think it worth it.
Re:New C features in GCC 13
by peterfirefly on Thursday May 04, 2023 @11:13AM
(#35816658)
C23's auto is not nearly as magic as C++'s auto. You can use it for the simple things but not for the perversely creative abuse scenarios you fear.