i am using a map with key as 'tm structure' defined in time.h now when i'm using statement it=HashTime.find(tm structure object); where it is the iterator then i am getting error like:
no match for
'operator='in'((const CTime*)this)->CTime::HashTime.std::map<_Key, _Tp, _Compare, _Alloc>::find [with _Key = tm, _Tp = long int, _Compare = CTime::compare, _Alloc = std::allocator<std::pair<const tm, long int> >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const tm, long int> >, key_type = tm](((const std::map<tm, long int, CTime::compare>::key_type&)((const std::map<tm, long int, CTime::compare>::key_type*)m_ntmDate))) = m_datesec'
itandHashTime? and does it work if you useauto it = HashTime.find(...);?