What's the syntax for a "function template" in a "class template"?
How should this ex. have been written to compile correctly?Code:template <class ClsType>
class Class {
template <typename FuncType>
void Function(FuncType Object);
};
template <class ClsType>
template <typename FuncType>
void Class<ClsType>::Function(FuncType Object) {
//...
}
(Please note that I don't wish ClsType and FuncType to be equal.)
Thanks in advance :)