Compilation error when using boost serialization library
- by Shakir
I have been struggling with this error for a long time.
The following is my code snippet.
//This is the header file
template<typename TElem>
class ArrayList {
public:
/** An accessible typedef for the elements in the array. */
typedef TElem Elem;
friend class boost::serialization::access;
template<class Archive>
void…