$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-01-21 11:34:49
Try the following. See the "rationale" in the documentation for an explanation.
Robert Ramey
...
int main()
{
const derived dc(5); // try adding "const" here
{
std::ofstream ofile("test.xml");
boost::archive::xml_oarchive oa(ofile);
oa << boost::serialization::make_nvp("test", dc);
}
return 0;