$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Serializing UUIDs into text archives
From: Matthias Vallentin (vallentin_at_[hidden])
Date: 2012-03-15 13:04:16
>> int main()
>> {
>> Â std::vector<char> v;
>> Â std::ofstream f("/tmp/foo");
>> Â boost::archive::text_oarchive oa(f);
>>
>> Â const boost::uuids::uuid id = boost::uuids::random_generator()(); // try
>> const
Sorry, I should have added that I actually tried both const and
non-const versions, per your earlier suggestion. Making the uuid const
does not seem to have an effect.
Matthias