Ignition Physics

API Reference

1.2.0
hash< EntityPtr< EntityT > > Struct Template Reference

Template specialization that provides a hash function for EntityPtr so that it can easily be used in STL objects like std::unordered_set and std::unordered_map. More...

#include <Entity.hh>

Public Member Functions

size_t operator() (const EntityPtr< EntityT > &ptr) const
 

Detailed Description

template<typename EntityT>
struct std::hash< EntityPtr< EntityT > >

Template specialization that provides a hash function for EntityPtr so that it can easily be used in STL objects like std::unordered_set and std::unordered_map.

Member Function Documentation

◆ operator()()

size_t operator() ( const EntityPtr< EntityT > &  ptr) const
inline

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