C++ can compilers inline a function pointer?

后端 未结 4 1726
难免孤独
难免孤独 2020-12-02 18:31

Suppose I\'ve got a function functionProxy that takes a generic parameter function and call its operator():

template&l         


        
4条回答
  •  旧巷少年郎
    2020-12-02 19:35

    Possibly. There is no strong reason for or against it, it just depends on what the compiler writers implemented.

提交回复
热议问题