1

This question is related to: Check if a class has a member function of a given signature

Is this functionality implemented by C++11 standard or do I need to use custom implementation?

4

1 回答 1

3

Is this functionality implemented by C++11 standard

No, it's not. Implementing something like this generally had to be done using macros, to pass the function name in.

do I need to use custom implementation?

Probably not. Such stuff is seldomly needed. There might be other solutions to your underlying problem.

于 2013-05-28T09:15:32.133 回答