0_0_7958106_19290.cpp: In member function `int Trie<TChar>::Add(Iterator, Iterator, bool, int, unsigned int) [with Iterator = char*, TChar = char]':
0_0_7958106_19290.cpp:159: instantiated from here
0_0_7958106_19290.cpp:52: error: no matching function for call to `std::map<char, int, std::less<char>, std::allocator<std::pair<const char, int> > >::insert(std::_Rb_tree_const_iterator<std::pair<const char, int> >&, std::pair<char, unsigned int>)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:360: note: candidates are: std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(const std::pair<const _Key, _Tp>&) [with _Key = char, _Tp = int, _Compare = std::less<char>, _Alloc = std::allocator<std::pair<const char, int> >]
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:384: note: typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator, const std::pair<const _Key, _Tp>&) [with _Key = char, _Tp = int, _Compare = std::less<char>, _Alloc = std::allocator<std::pair<const char, int> >]
|