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.
> >
> >
> 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

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at