|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-08 08:53:56
Hi Emily,
When I needed something very much like this in my last job, Aleksey Gurtovoy
wrote some simple tuple metaprogramming extensions that were quite useful to
me. So, that is to say:
1. Yes, other people will be interested
2. You might take a look at Aleksey's work. Some related stuff is on the
"mpl-development" branch in boost/mpl
-Dave
===================================================
David Abrahams, C++ library designer for hire
resume: http://users.rcn.com/abrahams/resume.html
C++ Booster (http://www.boost.org)
email: david.abrahams_at_[hidden]
===================================================
----- Original Message -----
From: "Emily Winch" <emily_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, November 08, 2001 4:15 AM
Subject: [boost] Possible tuple extensions
>
>
> 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
>
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk