So if I want to specialise:
template<typename T>
class my_class{
private:
static const std::string my_string;
};
The only way I was able to do it was via
template<> const std::string my_class<some_type>::my_string = "the string";
Let's say I have a bunch of private static members and a bunch of specialisations.
Is there a cleaner way to do this? closer to:
my_class<some_type>::my_string = "the string";