How can I serialize a class template?
.h
template <class xxx> class CIntervalublic CObject
{
DECLARE_SERIAL(CInterval)
...
}
.cpp
IMPLEMENT_SERIAL(CInterval, CObject,1)
What should I write instead of CInterval?
I have also a derived class
CIR_Intervalublic CInterval<double> to serialize
IMPLEMENT_SERIAL(CIR_Interval, CInterval<double>,1)
doesn't work
Thank's
Davide
.h
template <class xxx> class CIntervalublic CObject
{
DECLARE_SERIAL(CInterval)
...
}
.cpp
IMPLEMENT_SERIAL(CInterval, CObject,1)
What should I write instead of CInterval?
I have also a derived class
CIR_Intervalublic CInterval<double> to serialize
IMPLEMENT_SERIAL(CIR_Interval, CInterval<double>,1)
doesn't work
Thank's
Davide