How to elegantly implement a series of functions in different type versions using pure C?

后端 未结 5 701
北恋
北恋 2020-12-30 09:53

I want to write several functions that are only different in the types of arguments. I know C++ has template to handle this problem well (not very well yet thou

5条回答
提交回复
热议问题