News for hackers. Stuff that matters.
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.
Re:New C features in GCC 13 by pmarin on Thursday May 04, 2023 @10:55AM (#35816343)
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.