D
Diego Martins
Hi all.
I want to build a template class to extract the return type of a
pointer to function
Something like:
template<typename CB>
class ReturnTypeExtractor {
typedef ReturnType .... ??? :-(
};
....
// user code
typedef FooObject * (*CallBackType)();
typedef ReturnTypeExtractor<CallBackType> myReturnType; //
myReturnType is FooObject *
How can I accomplish this?
Thanks In Advance
Diego
HP
I want to build a template class to extract the return type of a
pointer to function
Something like:
template<typename CB>
class ReturnTypeExtractor {
typedef ReturnType .... ??? :-(
};
....
// user code
typedef FooObject * (*CallBackType)();
typedef ReturnTypeExtractor<CallBackType> myReturnType; //
myReturnType is FooObject *
How can I accomplish this?
Thanks In Advance
Diego
HP