CGAL 6.1 - STL Extensions for CGAL

Loading...
Searching...
No Matches
Hashable Concept Reference
Reference Manual » Concepts

## Definition

A type `Key` is a model of the concept `Hashable` if the specializations `boost::hash<Key>` and `std::hash<Key>` exist.

Has models
  All handles and indices of CGAL data structures
  All handles of OpenMesh, by including the specializations of the `graph_traits` header files provided by CGAL. They can be disables by defining the macro `CGAL_DISABLE_HASH_OPENMESH`.

See also
  `CGAL::Unique_hash_map<Key,Mapped,Hash>`
  `std::unordered_set`
  `std::unordered_map`
  `boost::unordered_set`
  `boost::unordered_map`