Boost logo

Boost :

From: Edward Diener (eddielee_at_[hidden])
Date: 2003-02-03 13:16:07

Al Stevens who writes the C++ column for "Doctor Dobbs Journal" put out a
persistent template library for C++ containers some time back. It is
probably on the DDJ web site, although I haven't looked there recently. You
might want to check that out and see what he did. I will readily admit I
have not had the need to persist container data in my daily programming but
I can understand others having that need.

"Vladimir Prus" <ghost_at_[hidden]> wrote in message
> Hi,
> after having to output std::vector to stream again and again using custom
> solution, I started to wonder why we don't have a solution in boost.
> Does it makes sense to include operators<< for vectors, sets, etc?
> I was thinking about
> <boost/io/vector.hpp>
> <boost/io/set.hpp>
> and so on. There are basically two approaches:
> 1. Operators use fixed format: bracked list with commas between values for
> vector, for example.
> 2. Manipulators are provided to set brackets and separators.
> I had implemented the second approach some time ago, but it turned out
> was overkill. So, 1) looks better now.

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