it's ok according to the standard to specialize member function like
this:
template<class T>struct xxx {
void func();
};
template<>bool xxx<int>::func( ){
//int version
}
template<>bool xxx<double>::fu nc(){
//double version
}
The problem is that I don't understand how to do same thing in this
case:
template<class C, class T>struct yyy {
C _c;
void func();
};
how is then I write implementation for yyy::func()??
I tried many ways but non of them worked for me
thanks