Я хочу использовать uuid в качестве ключей в unordered_map, но получаю следующие ошибки:
Код: Выделить всё
/usr/bin/../lib/c++/v1/type_traits:748:38: error: implicit instantiation of undefined template
'std::__1::hash'
: public integral_constant {};
^
/usr/bin/../lib/c++/v1/unordered_map:327:54: note: in instantiation of template class
'std::__1::is_empty' requested here
template
Подробнее здесь: [url]https://stackoverflow.com/questions/16471051/boostuuidsuuid-as-a-key-in-stdunordered-map[/url]
Мобильная версия