
7 Feb
2007
7 Feb
'07
4:41 p.m.
add the "const" Read the "rationale" section of the documentation for an explanation. Robert Ramey
int main() {
const Vertex v1(1.5, 2.5); // add "const" here std::ofstream ofs("myfile.vtx");
boost::archive::text_oarchive oa(ofs);
oa << v1; ofs.close();
return 0; }