Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-07-23 12:58:36


BTW, I'll be happy to throw out this code and use stuff from MPL instead
(as long as it is just as portable).

On Mon, 23 Jul 2001, Jeremy Siek wrote:

>
> The property class used in the graph library does this (the name
> "property" was because it is what I store properties in, but it should
> have a better name if it is to be used for general purpose). The code is
> in boost/pending/property.hpp.
>
> The current interface to the code is a bit rough, and needs documentation.
> On the good side, the code is reasonably portable considering that it is
> meta-code.
>
> Cheers,
> Jeremy
>
>
> On Fri, 20 Jul 2001, David Abrahams wrote:
> > Hi All
> >
> > I'm looking for a good facility for the following functionality:
> >
> > a compile-time Map: type => (type, value)
> >
> > The idea is that given a Map object and a key type, I should be able to
> > extract a corresponding value at compile-time.
> >
> > I've been looking around at existing facilities, and none of them seem to
> > quite fit the bill. For example, the recently accepted boost tuple library
> > doesn't seem to be designed for this, although I could be wrong.
> >
> > Of course I could code it myself, but I'd rather re-use than invent.
> >
> > Pointers appreciated,
> > Dave
> >
> >
> >
> > 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/
> >
> >
> >
>
> ----------------------------------------------------------------------
> Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
> Ph.D. Candidate, IU B'ton email: jsiek_at_[hidden]
> Summer Manager, AT&T Research phone: (973) 360-8185
> ----------------------------------------------------------------------
>
>
>
> 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/
>
>
>

----------------------------------------------------------------------
 Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
 Ph.D. Candidate, IU B'ton email: jsiek_at_[hidden]
 Summer Manager, AT&T Research phone: (973) 360-8185
----------------------------------------------------------------------


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