10 Jul
2005
10 Jul
'05
8:32 p.m.
int main(int argc, char* argv[]) { DynamicArray<char> ArrayOfAs, ArrayOfAs2; const ArrayOfAs.Element = new char[5]; ArrayOfAs.Size = 5; char* secondElement = &ArrayOfAs.Element[1]; char* secondElement2; std::stringstream stream; { boost::archive::text_oarchive oa(stream); oa << ArrayOfAs; oa << secondElement; // error message here - serializating a non-tracked type // (a primitive) through a pointer. } Robert Ramey