
10 Apr
2007
10 Apr
'07
1:20 p.m.
On Tuesday, April 10, 2007 at 14:29:25 (+0200) Aljaz writes:
Hey Bill
Thanks for help
What does BOOST_SERIALIZATION_NVP do? I couldnt find answer anywhere..
It's a macro wrapper --- "NVP" means "Name Value Pair". It is only useful when you use XML archives, as XML needs a "name" for the value serialized. When used with a non-XML archive, it simply defaults to outputting the value, with no name. It is good practice to use the wrapper, as that way, you can switch archive types and not have to recode your serialization routines. Bill