Can _Generic determine if an expression is an lvalue?
My guess/intuition is also a strong no, but I've been seriously surprised by things you can do with ?: and _Generic. Especially:https://twitter.com/RichFelker/status/1024894843863146496 …
-
-
yes, but these cute uses are about or use type. As said, the only use that goes beyond that (I know of) is testing ice, which uses an obscure property of the ternary operator and null pointer constants.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.