So instead of oa << BOOST_SERIALIZATION_NVP(T);
can we use following to have type name printed in xml file ?
oa << boost::serialization::make_nvp(typeid(T).name(), T);
_____
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Robert Ramey
Sent: Saturday, October 22, 2005 8:40 PM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] How to select the name of class definitioninstead
ofvariable name in XML archive
People have asked this before, its really needed, but as far as anyone
knows, there is no portable way to do this. Depending on your needs
type_id might return a string you can use.
Robert Ramey
"Piyush Kapadia"