- ADD a macro OM_HAS_HASH in the config file.
- Based on the macro provide partial specializations for std::hash<> - for vertex,halfede,edge, and face handles. - Add a free function hash_value(BaseHandle) for boost::unordered_set/map
This commit is contained in:
@@ -101,6 +101,11 @@
|
||||
#endif
|
||||
|
||||
typedef unsigned int uint;
|
||||
|
||||
#if (_MSC_VER >= 1900 || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
#define OM_HAS_HASH
|
||||
#endif
|
||||
|
||||
//=============================================================================
|
||||
#endif // OPENMESH_CONFIG_H defined
|
||||
//=============================================================================
|
||||
|
||||
Reference in New Issue
Block a user