Boost logo

Boost Users :

Subject: Re: [Boost-users] Problems using boostserializingandcustomconstructors
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-03-14 18:11:16

Allan Nielsen wrote:
> Hi Robert
>> I posted a example - did this not work?
> I did look at you example, but I did not understand how it could
> possibly work. And therefor for I did not try it out as the first
> thing.
> However, I have tried it now, and it is working. The only problem is
> that I do not understand how.


a) you've installed boost
b) read the documentation for the serialization library
c) and it's not clear why my code works


It's a bug in the documentation. As far as I'm concerned
this is the same as a bug in the code they really are "one thing".

So, if you go back the documentation, I believe you should be
able to discover why my example works. If you do this and
conclude that something needs to be added to the documentation
feel free to propose some more language the documentation which
would avoided the confusion. Then post this is a trac item and it
will eventually make it's way into the official documentation. This
will give you a constructive way to vent your frustration and avoid
having another person suffer this same fate.

> Also, I do not understand why the (not so elegant) example of mine,
> does not work...

Honestly, I couldn't really understand your example without
investing a lot more effort. But if you do the above, you will
likely be able to understand this yourself.

> But anyway, thanks for providing a good solution to my problem.

My pleasure

Robert Ramey

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at