Functional programming in C with macro “Higher Order Function” generators

前端 未结 3 1269
后悔当初
后悔当初 2020-12-07 14:59

Pay attention carefully because this is a hell of a question ;-)

I want to use template functions for generic collection actions (like search, foreach, etc.) in C wh

3条回答
  •  猫巷女王i
    2020-12-07 15:45

    If you are on Linux/BSD Unix, take a look at queue(3) and check into /usr/include/sys/queue.h - it's been done before :)

提交回复
热议问题