Re: Re: [Boost-users] function_traits inheritance
Peter Dimov wrote:
Victor Morilla wrote:
template
struct Translator : function_traits<FnType> { typedef result_type type;
typedef typename function_traits<FnType>::result_type type;
};
The question is, why result_type type definition is not inherited from function_traits ? ______________________________________________ Renovamos el Correo Yahoo!: ¡100 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es
Victor Morilla wrote:
Peter Dimov wrote:
Victor Morilla wrote:
template
struct Translator : function_traits<FnType> { typedef result_type type; typedef typename function_traits<FnType>::result_type type;
};
The question is, why result_type type definition is not inherited from function_traits ?
Members of dependent base classes are not visible in this context, because
at the time the definition of Translator
participants (2)
-
Peter Dimov
-
Victor Morilla