Boost logo

Boost :

From: Emily Winch (emily_at_[hidden])
Date: 2001-11-08 04:15:09


I have a bunch of code implementing what is essentially Boost.Tuple, except
with names for the objects (best described by
http://www.oonumerics.org/tmpw01/winch.pdf). It also has an implementation
of iterators and some algorithms for my tuple, which were originally
intended for generating things like copy constructors, in the case where the
tuple is used to hold the member variables of a class.

I think a substantial part of this stuff would fit nicely with Boost.Tuple.
My plan would be to write iterators for Jaakko's tuple, and then to add in
some or all of the following (listed in order of usefulness)

- iterators for the existing tuple, plus algorithms
- a filtering iterator I have, useful for iterating (for example) over all
the pointers in the tuple
- a named_object_tuple based on my existing one, with its iterators

and maybe

- the functors designed to facilitate writing copy constructors, destructors
and so forth using algorithms.

I'd like to know what, if any, of this people would be likely to use. It
will take some work before it would be ready for inspection, but I'd be more
inclined to put in that work if I knew that this is generally useful, rather
than just a shiny toy for me to play with :)

Thanks,

Emily


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