hi
How can I go about determining return type of a member generic function?
template<class E>
struct result<E> {
// E has member function data(), I need to know its return type
typedef typename &E::data type;
};
is it possible to do it in generic way?
I know there is boost:: result_of
but for my purposes it lacks specializations (if I understood correctly, return type must be specialized).
boost implementation would be great.