|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2004-09-28 12:49:38
>> Oh - no. Use the variable name for the tag not the name of the type.
>> This is encouraged by usage of the idiom
>>
>> ar & BOOST_SERIALIZATION_NVP(my_variable);
>Might I also suggest a similar interface which allows the caller to specify
>the name to go with the value:
>BOOST_SERIALIZATION_NAME_VALUE ("variable", m_variable);
The following already exists.
make_nvp("variable", m_variable);
The above macro was only created to avoid retyping the variable name in the
Most common case.
Robert Ramey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk