| 105 | using Func = typename std::conditional<isConst, RetVal (Cls::*)(Args...) const, RetVal (Cls::*)(Args...)>::type; |
| 106 | |
| 107 | RetVal operator()(Cls& self, Args... args) const |
| 108 | { |
| 109 | issueDeprecationWarning(useInstead); |
| 110 | return (std::forward<Cls>(self).*func)(std::forward<Args>(args)...); |
| 111 | } |
| 112 | |
| 113 | const Func func; |
| 114 | const char* useInstead; |
nothing calls this directly
no test coverage detected