阅读背景:

是否可以检测指向成员函数的指针?

来源:互联网 

i want a specialize template in a pointer-to-member-function case. Is there a way to detect this? right now i declare struct isPtrToMemberFunc, then add an extra template (class TType=void) to each class (right now just 1) and specialize the extra template to see if its isPtrToMemberFunc. Is there a way to detect this automatically? if not is my current method the best solution?i want a specialize template in a pointer-to-me




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

分享到: