In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable.h:36:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/unordered_map:41,
from 0_0_24816652_12937.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable_policy.h: In instantiation of 'std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_Hash_code_type std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_hash_code(const _Key&) const [with _Key = char*; _Value = std::pair<char* const, char*>; _ExtractKey = std::_Select1st<std::pair<char* const, char*> >; _Equal = std::equal_to<char*>; _H1 = cmp; _H2 = std::tr1::__detail::_Mod_range_hashing; std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_Hash_code_type = long long unsigned int]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable_policy.h:523:74: required from 'std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type& std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::operator[](const _Key&) [with _Key = char*; _Pair = std::pair<char* const, char*>; _Hashtable = std::tr1::_Hashtable<char*, std::pair<char* const, char*>, std::allocator<std::pair<char* const, char*> >, std::_Select1st<std::pair<char* const, char*> >, std::equal_to<char*>, cmp, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>; std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type = char*]'
0_0_24816652_12937.cpp:22:15: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable_policy.h:672:25: error: no match for call to '(const cmp) (char* const&)'
{ return _M_h1(__k); }
^
0_0_24816652_12937.cpp:7:8: note: candidate is:
struct cmp
^
0_0_24816652_12937.cpp:9:10: note: bool cmp::operator()(char*, char*) const
bool operator()(char *a, char *b) const
^
0_0_24816652_12937.cpp:9:10: note: candidate expects 2 arguments, 1 provided
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable.h:36:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/unordered_map:41,
from 0_0_24816652_12937.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable_policy.h: In instantiation of 'std::size_t std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_bucket_index(const std::tr1::__detail::_Hash_node<_Value, false>*, std::size_t) const [with _Key = char*; _Value = std::pair<char* const, char*>; _ExtractKey = std::_Select1st<std::pair<char* const, char*> >; _Equal = std::equal_to<char*>; _H1 = cmp; _H2 = std::tr1::__detail::_Mod_range_hashing; std::size_t = long long unsigned int]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable.h:1154:59: required from 'void std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_rehash(std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::size_type) [with _Key = char*; _Value = std::pair<char* const, char*>; _Allocator = std::allocator<std::pair<char* const, char*> >; _ExtractKey = std::_Select1st<std::pair<char* const, char*> >; _Equal = std::equal_to<char*>; _H1 = cmp; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::size_type = long long unsigned int]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable.h:862:36: required from 'std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::iterator std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_insert_bucket(const value_type&, std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::size_type, typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type) [with _Key = char*; _Value = std::pair<char* const, char*>; _Allocator = std::allocator<std::pair<char* const, char*> >; _ExtractKey = std::_Select1st<std::pair<char* const, char*> >; _Equal = std::equal_to<char*>; _H1 = cmp; _H2 = std::tr1::__detail::_Mod_range_hashing; _Hash = std::tr1::__detail::_Default_ranged_hash; _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy; bool __cache_hash_code = false; bool __constant_iterators = false; bool __unique_keys = true; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::iterator = std::tr1::__detail::_Hashtable_iterator<std::pair<char* const, char*>, false, false>; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::value_type = std::pair<char* const, char*>; std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::size_type = long long unsigned int; typename std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type = long long unsigned int]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable_policy.h:530:9: required from 'std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type& std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::operator[](const _Key&) [with _Key = char*; _Pair = std::pair<char* const, char*>; _Hashtable = std::tr1::_Hashtable<char*, std::pair<char* const, char*>, std::allocator<std::pair<char* const, char*> >, std::_Select1st<std::pair<char* const, char*> >, std::equal_to<char*>, cmp, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>; std::tr1::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type = char*]'
0_0_24816652_12937.cpp:22:15: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/hashtable_policy.h:682:55: error: no match for call to '(const cmp) (char* const&)'
{ return _M_h2(_M_h1(_M_extract(__p->_M_v)), __n); }
^
0_0_24816652_12937.cpp:7:8: note: candidate is:
struct cmp
^
0_0_24816652_12937.cpp:9:10: note: bool cmp::operator()(char*, char*) const
bool operator()(char *a, char *b) const
^
0_0_24816652_12937.cpp:9:10: note: candidate expects 2 arguments, 1 provided
|