| ▲ | JdeBP 2 days ago | |
It's somewhat of a forced trick nowadays, I think. I actually thought from the title before I read the article that it was going to use _Generic, as in something like _Generic((item),__typeof__((list)->payload):...) . | ||
| ▲ | JonChesterfield 17 hours ago | parent [-] | |
You want attribute((overloadable)). Not _Generic. Noone wants _Generic, it should not have been proposed, nor specified, nor implemented. | ||