阅读背景:

使用struct for in / out参数的单一功能接口

来源:互联网 

I want to create a single function interface with a function that takes an ID and a parameter struct. Internally, functions are called and parameters from the struct are passed to the function. the returning values are passed to pointers in the struct. What are some pitfalls in this design? Is there anything that is faster than a switch-case statement?I want to create a single function interface wi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: