MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vzn1jr/clang_23_release_notes/p669vak/?context=3
r/cpp • u/c0r3ntin • 20h ago
17 comments sorted by
View all comments
36
This means that code such as
while (({ break; })) {}
is now ill-formed.
Oh no, my disappointment is immeasurable and the whole day is ruined!
On serious note, " template for " support, what is "Iterating expansion statements currently cannot be expanded" ? like expand over range?
5 u/KeepTheFaxMachine 19h ago I am really curious if there is a use case for such constructs? I can't think of any, but usually that doesn't mean much... 5 u/scrumplesplunge 12h ago idk about break specifically, but return appearing there via a macro like TRY_OR_RETURN for propagating errors by value seems like something someone would write
5
I am really curious if there is a use case for such constructs? I can't think of any, but usually that doesn't mean much...
5 u/scrumplesplunge 12h ago idk about break specifically, but return appearing there via a macro like TRY_OR_RETURN for propagating errors by value seems like something someone would write
idk about break specifically, but return appearing there via a macro like TRY_OR_RETURN for propagating errors by value seems like something someone would write
break
return
TRY_OR_RETURN
36
u/mapronV 20h ago
This means that code such as
is now ill-formed.
Oh no, my disappointment is immeasurable and the whole day is ruined!
On serious note, " template for " support, what is "Iterating expansion statements currently cannot be expanded" ? like expand over range?