PlayRho  2.0.0
An interactive physics engine & library.
IndexingNamedType.hpp File Reference

Definition of IndexingNamedType class template and related code. More...

#include <cstddef>
#include <functional>
#include <type_traits>
#include <utility>
Include dependency graph for IndexingNamedType.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  std::hash<::playrho::detail::IndexingNamedType< T, Tag > >
 Custom specialization of std::hash for playrho::detail::IndexingNamedType. More...
 
class  playrho::detail::IndexingNamedType< T, Tag >
 An indexable, hashable, named "strong type" template class. More...
 

Namespaces

 playrho
 
 playrho::detail
 

Functions

template<typename T , typename Tag >
constexpr const T & playrho::detail::UnderlyingValue (const IndexingNamedType< T, Tag > &o) noexcept
 Gets the underlying value.
 
template<typename T , typename Tag >
constexpr T & playrho::detail::UnderlyingValue (IndexingNamedType< T, Tag > &o) noexcept
 Gets the underlying value.
 

Detailed Description

Definition of IndexingNamedType class template and related code.