$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2004-12-03 12:04:16
why not?
Robert Ramey
"Jared McIntyre" <jmcintyre_at_[hidden]> wrote in message
news:a06200700bdd6457f4a05@[192.168.1.103]...
> >At 11:04 AM -0800 12/2/04, Robert Ramey wrote:
> >>I would hope the following would do it
> >>
> >> template<class Archive>
> >> void save(Archive & ar, const SWHandle & handle, const unsigned int
> >>version)
> >> {
> >> std::string strHelper( handle.toCharString() );
> >> ar << make_nvp("swhandle_guid", strHelper);
> >> }
> >>
> >> template<class Archive>
> >> void load(Archive & ar, SWHandle & handle, const unsigned int version)
> >> {
> >> std::string strHelper;
> >> ar >> make_nvp("swhandle_guid", strHelper);
> >> handle = strHelper.c_str();
> >> }
> >>
> >>BOOST_SERIALIZATION_SPLIT_FREE(SWHandle)
>
> I didn't notice this at first since the deserialization compiler
> error was first, but with this code neither the deserialization nor
> the serialization will compile.
>
> Jared
> _______________________________________________
> Unsubscribe & other changes:
http://listarchives.boost.org/mailman/listinfo.cgi/boost
>