I have the following class defined in a header A.h :
class A {
private:
template<int i>
void method();
};
is there any way for me to keep the implementation of method
in its own A.cpp file , with the usual method implementations ?
I'm asking this because puting the implementation in a A.h would make the interface very hard to read, especially since it's a private function.
It will only ever be instanciated with a limited values of "i" if that matters