Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
impeller::ComparableHash< ComparableType, class > Struct Template Reference

#include <comparable.h>

Public Member Functions

std::size_t operator() (const ComparableType &object) const
 

Detailed Description

template<class ComparableType, class = std::enable_if_t<std::is_base_of_v<ComparableBase, ComparableType>>>
struct impeller::ComparableHash< ComparableType, class >

Definition at line 39 of file comparable.h.

Member Function Documentation

◆ operator()()

template<class ComparableType , class = std::enable_if_t<std::is_base_of_v<ComparableBase, ComparableType>>>
std::size_t impeller::ComparableHash< ComparableType, class >::operator() ( const ComparableType &  object) const
inline

Definition at line 40 of file comparable.h.

40 {
41 return object.GetHash();
42 }

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