Loading [MathJax]/extensions/tex2jax.js
Loading...
Searching...
No Matches
Go to the documentation of this file.
37#ifndef UTIL_OVERLOADED_H_
38#define UTIL_OVERLOADED_H_
42#define OVERLOADED_FUNCTION_PTR(returnType, methodName, arguments) \
43 static_cast<returnType (*)arguments >(&methodName)
42#define OVERLOADED_FUNCTION_PTR(returnType, methodName, arguments) \ …
47#define OVERLOADED_CONST_METHOD_PTR(returnType, classType, methodName, arguments) \
48 static_cast<returnType (classType::*)arguments const>(&classType::methodName)
47#define OVERLOADED_CONST_METHOD_PTR(returnType, classType, methodName, arguments) \ …
52#define OVERLOADED_METHOD_PTR(returnType, classType, methodName, arguments) \
53 static_cast<returnType (classType::*)arguments>(&classType::methodName)
52#define OVERLOADED_METHOD_PTR(returnType, classType, methodName, arguments) \ …
65#define ADD_CONSTRUCTOR(__theSignature) template add_constructor<void (*) __theSignature >