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 257 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 258 of file ref_ptr.h.

◆ result_type

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

Definition at line 259 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

Definition at line 261 of file ref_ptr.h.

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

261  {
262  return std::hash<T*>()(ptr.get());
263  }

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