
14 Dec
2007
14 Dec
'07
5:44 a.m.
On 13/12/2007, merlin antony <antonymerlin@gmail.com> wrote:
this stl maps is datatype specific. eg map<int,int>, map <string,int>, etc.. is they any way to create a template map like map<T,T>. so that the map is compatible across any datatype being passed to it?
A map to/from variants or anys might be what you're looking for. On the other hand, it's rare to really need to handle "anything", so a redesign might be a better idea. ~ Scott