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