$ ppc-amigaos-g++ -athread=native -mcrt=newlib test2.cpp -lpthread In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:46, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h: In instantiation of ‘class std::_Hashtable, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >’: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/unordered_map.h:105:18: required from ‘class std::unordered_map, std::__cxx11::basic_string >’ test2.cpp:16:52: required from here /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:195:21: error: static assertion failed: hash function must be invocable with an argument of key type static_assert(__is_invocable{}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test2.cpp: In function ‘int main()’: test2.cpp:16:52: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, std::__cxx11::basic_string > >]’ std::unordered_map m_translations; ^~~~~~~~~~~~~~ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:47, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/unordered_map.h:141:7: note: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, std::__cxx11::basic_string > >]’ is implicitly deleted because the default definition would be ill-formed: unordered_map() = default; ^~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/unordered_map.h:141:7: error: use of deleted function ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _H1 = std::hash >; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:46, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:413:7: note: ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _H1 = std::hash >; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’ is implicitly deleted because the default definition would be ill-formed: _Hashtable() = default; ^~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:413:7: error: use of deleted function ‘std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::_Hashtable_base() [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _H1 = std::hash >; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits]’ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:35, from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:46, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1824:5: note: ‘std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::_Hashtable_base() [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _H1 = std::hash >; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits]’ is implicitly deleted because the default definition would be ill-formed: _Hashtable_base() = default; ^~~~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1824:5: error: use of deleted function ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_Hash_code_base() [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _ExtractKey = std::__detail::_Select1st; _H1 = std::hash >; _H2 = std::__detail::_Mod_range_hashing]’ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1379:7: note: ‘std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_Hash_code_base() [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _ExtractKey = std::__detail::_Select1st; _H1 = std::hash >; _H2 = std::__detail::_Mod_range_hashing]’ is implicitly deleted because the default definition would be ill-formed: _Hash_code_base() = default; ^~~~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1379:7: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<_Nm, _Tp, true>::_Hashtable_ebo_helper() [with int _Nm = 1; _Tp = std::hash >]’ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1106:7: note: ‘std::__detail::_Hashtable_ebo_helper<_Nm, _Tp, true>::_Hashtable_ebo_helper() [with int _Nm = 1; _Tp = std::hash >]’ is implicitly deleted because the default definition would be ill-formed: _Hashtable_ebo_helper() = default; ^~~~~~~~~~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1106:7: error: use of deleted function ‘std::hash >::hash()’ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/basic_string.h:6620, from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/string:52, from test2.cpp:1: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:101:12: note: ‘std::hash >::hash()’ is implicitly deleted because the default definition would be ill-formed: struct hash : __hash_enum<_Tp> ^~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:101:12: error: no matching function for call to ‘std::__hash_enum, false>::__hash_enum()’ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:82:7: note: candidate: ‘std::__hash_enum<_Tp, >::__hash_enum(std::__hash_enum<_Tp, >&&) [with _Tp = std::__cxx11::basic_string; bool = false]’ __hash_enum(__hash_enum&&); ^~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:82:7: note: candidate expects 1 argument, 0 provided /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:101:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::__cxx11::basic_string; bool = false]’ is private within this context struct hash : __hash_enum<_Tp> ^~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:83:7: note: declared private here ~__hash_enum(); ^ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:35, from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:46, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1106:7: error: use of deleted function ‘std::hash >::~hash()’ _Hashtable_ebo_helper() = default; ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/basic_string.h:6620, from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/string:52, from test2.cpp:1: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:101:12: note: ‘std::hash >::~hash()’ is implicitly deleted because the default definition would be ill-formed: struct hash : __hash_enum<_Tp> ^~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:101:12: error: ‘std::__hash_enum<_Tp, >::~__hash_enum() [with _Tp = std::__cxx11::basic_string; bool = false]’ is private within this context /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/functional_hash.h:83:7: note: declared private here ~__hash_enum(); ^ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:35, from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:46, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1379:7: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ _Hash_code_base() = default; ^~~~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1103:12: note: ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ is implicitly deleted because the default definition would be ill-formed: struct _Hashtable_ebo_helper<_Nm, _Tp, true> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1103:12: error: use of deleted function ‘std::hash >::~hash()’ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1824:5: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, std::__cxx11::basic_string >, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ _Hashtable_base() = default; ^~~~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1352:12: note: ‘std::__detail::_Hash_code_base, std::pair, std::__cxx11::basic_string >, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ is implicitly deleted because the default definition would be ill-formed: struct _Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _Default_ranged_hash, true> ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1352:12: error: use of deleted function ‘std::__detail::_Hashtable_ebo_helper<1, std::hash >, true>::~_Hashtable_ebo_helper()’ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:46, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:413:7: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, std::__cxx11::basic_string >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ _Hashtable() = default; ^~~~~~~~~~ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:35, from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:46, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1772:10: note: ‘std::__detail::_Hashtable_base, std::pair, std::__cxx11::basic_string >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’ is implicitly deleted because the default definition would be ill-formed: struct _Hashtable_base ^~~~~~~~~~~~~~~ /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable_policy.h:1772:10: error: use of deleted function ‘std::__detail::_Hash_code_base, std::pair, std::__cxx11::basic_string >, std::__detail::_Select1st, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::~_Hash_code_base()’ In file included from /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/unordered_map:46, from test2.cpp:3: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h: In instantiation of ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::~_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _H1 = std::hash >; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]’: /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/unordered_map.h:102:11: required from here /usr/local/amiga/ppc-amigaos/include/c++/8.2.0/bits/hashtable.h:1373:5: error: use of deleted function ‘std::__detail::_Hashtable_base, std::pair, std::__cxx11::basic_string >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >::~_Hashtable_base()’