How can I determine the return type of a common function of an element?
template<class E> struct result<E> {
Can this be done in a general way? I know that there is boost:: result_of , but for my purposes it lacks specializations (if I understand correctly, the return type must be specialized). speeding up the implementation would be great.
c ++ templates
Anycorn
source share