Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] support for C++-11 types
From: niXman (i.nixman_at_[hidden])
Date: 2012-11-01 12:44:07


> YAS sounds interesting. I believe boost serialization has special handling for
> shared_ptr. Does/will YAS?

Supported yas::shared_buffer only [1]
Below the 65 line [2] it is shown the implementation of the way of
read/write, but I think this is a very unsafe way.

I'll see how it is implemented in boost.serialization, and I'll fix it
in a short time.

[1] https://github.com/niXman/yas/blob/master/include/yas/detail/tools/buffers.hpp#L72
[2] https://github.com/niXman/yas/blob/master/include/yas/serializers/binary/utility/buffer_serializers.hpp#L65

-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net