Boost logo

Boost :

Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: Peter Dimov (lists_at_[hidden])
Date: 2015-02-02 14:41:17


> Stephen Kelly wrote:
> > > <boost/serialization/array.hpp>
> > > <boost/serialization/vector.hpp>
> >
> > These should also be moved.
> >
> > http://thread.gmane.org/gmane.comp.lib.boost.devel/254577
>
> array(5)
> ⇢ assert(1) config(0) core(2) static_assert(1) throw_exception(2)
>
> and you want to make it depend on serialization(59)? :-)

Note, by the way, that boost/serialization/array.hpp doesn't just implement
serialization for boost::array; it also defines boost::serialization::array
and implements serialization for std::array. So it doesn't belong to Array
anyway.

And boost/serialization/vector.hpp, of course, implements std::vector's
serialization, so there's nowhere to move it to.

boost/serialization/optional.hpp and boost/serialization/variant.hpp are
another story. But only after there's a lightweight way to implement
serialization.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk