- Hello I'm @thephd at #C Standard LLC how can I help you today? - I would like ...
Gina Peter Banyard @Girgias@phpc.social
- Hello I'm @thephd at #C Standard LLC how can I help you today?
- I would like to file a complaint about C's `_Generic`. Why do discarded expressions need to be semantically valid? It makes writing function that are generic in a parameter annoyingly difficult/impossible. And why are the compiler errors so bad?
In all seriousness, is somebody working on making this less ridiculous? Because I only understood why what I wanted to do was not possible by stumbling onto https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/c11-generic/#bigbug