OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::util::HashIdAggregate< IdAggregate > Struct Template Reference

#include <osvr/Util/TypeSafeIdHash.h>

Detailed Description

template<typename IdAggregate>
struct osvr::util::HashIdAggregate< IdAggregate >

Template specialized for common aggregates of TypeSafeIds, with the intent that you can simply open namespace std and derive your specialization of struct hash from this. e.g. namespace std { template <> struct hash<osvr::vbtracker::BodyTargetId> : osvr::util::HashIdAggregate<osvr::vbtracker::BodyTargetId> {}; } // namespace std

Definition at line 98 of file TypeSafeIdHash.h.


The documentation for this struct was generated from the following file: