Flutter Engine
std::hash< fml::RefPtr< T > > Struct Template Reference

#include <ref_ptr.h>

Public Types

using argument_type = fml::RefPtr< T >
 
using result_type = std::size_t
 

Public Member Functions

result_type operator() (const argument_type &ptr) const
 

Detailed Description

template<typename T>
struct std::hash< fml::RefPtr< T > >

Definition at line 254 of file ref_ptr.h.

Member Typedef Documentation

◆ argument_type

template<typename T >
using std::hash< fml::RefPtr< T > >::argument_type = fml::RefPtr<T>

Definition at line 255 of file ref_ptr.h.

◆ result_type

template<typename T >
using std::hash< fml::RefPtr< T > >::result_type = std::size_t

Definition at line 256 of file ref_ptr.h.

Member Function Documentation

◆ operator()()

template<typename T >
result_type std::hash< fml::RefPtr< T > >::operator() ( const argument_type ptr) const
inline

Definition at line 258 of file ref_ptr.h.

References fml::RefPtr< T >::get().

258  {
259  return std::hash<T*>()(ptr.get());
260  }

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