Flutter Impeller
impeller::AbslHashAdapter< T > Struct Template Reference

#include <glyph_atlas.h>

Public Member Functions

constexpr std::size_t operator() (const T &element) const
 

Detailed Description

template<typename T>
struct impeller::AbslHashAdapter< T >

Adapts AbslHashValue functions to be used with std::unordered_map and the fml hash functions.

Definition at line 47 of file glyph_atlas.h.

Member Function Documentation

◆ operator()()

template<typename T >
constexpr std::size_t impeller::AbslHashAdapter< T >::operator() ( const T &  element) const
inlineconstexpr

Definition at line 48 of file glyph_atlas.h.

48  {
49  AbslHashAdapterCombiner<T> combiner;
50  combiner = AbslHashValue(std::move(combiner), element);
51  return combiner.value;
52  }

References impeller::AbslHashAdapterCombiner< T >::value.


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