if im using like ...
map<int, char*> mymap;
mymap.insert(1,"hello");
it gives this error.....
error: no matching function for call to `std::map<int,
char*, std::less<int>, std::allocator<std:
air<const int, char*> > >::
insert(int, char[50])'
/usr/include/c++/3.3.3/bits/stl_map.h:340: error: candidates are:
std:
air<typename std::_Rb_tree<_Key, std:
air<const _Key, _Tp>,
std::_Select1st<std:
air<const _Key, _Tp> >, _Compare, _Alloc>::iterator,
bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(const std:
air<const
_Key, _Tp>&) [with _Key = int, _Tp = char*, _Compare = std::less<int>,
_Alloc = std::allocator<std:
air<const int, char*> >]