$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Bill Lear (rael_at_[hidden])
Date: 2007-04-10 09:20:25
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