Retrieve multindex value type?

2 Jul
2006
2 Jul
'06
4:19 p.m.
Hello, is there a way to retrieve from a multiIndex container the type of its content? I need to do something like this: template <class T> class my_class { private: T set; public: void insert(const T::value_type &); <------ ? }; Here T is a multiIndex container, and the insert function should add a term to the set. Hence "insert" must accept as input the kind of values that are stored in the multiIndex container. Is there a way to do so or should I just add another parameter to the template and use that as argument for insert? Thanks, Francesco
6810
Age (days ago)
6810
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francesco Biscani