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

前端 未结 3 1270
后悔当初
后悔当初 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:42

    For information, the source code of GCC 4.6 implements similar tricks for vectors. Look into its file gcc/vec.h

提交回复
热议问题