Tomás wrote:
typename Base<T>::SpecialType Base<T>::NormalMemberFunction() const
Thanks.
Okay it works; but in my opinion, it's horribly verbose! I have to write
out the long-winded:
typename Base<T>::SpecialType
instead of:
SpecialType
Well, yeah... you're outside the class definition, so members of the
class must be qualified with the classname. If Base weren't a template,
you'd be able to save yourself the "typename" part, but that's it. If
you define the function inline, you can save yourself the trouble.
Josh