Blender V5.0
blender::CustomIDHash< T, GetIDFn > Struct Template Reference

#include <BLI_vector_set.hh>

Public Types

using CustomIDType = decltype(GetIDFn{}(std::declval<T>()))

Public Member Functions

uint64_t operator() (const T &value) const
uint64_t operator() (const CustomIDType &value) const

Detailed Description

template<typename T, typename GetIDFn>
struct blender::CustomIDHash< T, GetIDFn >

Definition at line 1107 of file BLI_vector_set.hh.

Member Typedef Documentation

◆ CustomIDType

template<typename T, typename GetIDFn>
using blender::CustomIDHash< T, GetIDFn >::CustomIDType = decltype(GetIDFn{}(std::declval<T>()))

Definition at line 1108 of file BLI_vector_set.hh.

Member Function Documentation

◆ operator()() [1/2]

template<typename T, typename GetIDFn>
uint64_t blender::CustomIDHash< T, GetIDFn >::operator() ( const CustomIDType & value) const
inline

Definition at line 1114 of file BLI_vector_set.hh.

References blender::get_default_hash().

◆ operator()() [2/2]

template<typename T, typename GetIDFn>
uint64_t blender::CustomIDHash< T, GetIDFn >::operator() ( const T & value) const
inline

Definition at line 1110 of file BLI_vector_set.hh.

References blender::get_default_hash(), and T.


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