cpp_weekly
cpp_weekly copied to clipboard
gcc statement expressions vs lambdas
Channel
C++Weekly
Topics
Observation: A gcc statement expression is probably the same thing as a lambda with [&]
capture, auto return type, no parameters, immediately invoked.
Length
Short
gcc statement expression looks more like a hack made to force macros to behave less errant when constexpr
was not a thing.