Boost logo

Boost Users :

From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-03-26 16:47:59


Fellow boost enthusiasts,

I want to be able to store a set of information that contains types. For
example:

> template<typename T>
> void register_field( const FieldID id )
> {
> // need to keep a record of (T,id)
> }

Later on, I need to recover the type and id (T,id) for use. Any thoughts on
a way to accomplish this?

Thanks for any advice,

James



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net