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

#include <BLI_vector_set.hh>

Public Types

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

Public Member Functions

bool operator() (const T &a, const T &b) const
bool operator() (const CustomIDType &a, const T &b) const
bool operator() (const T &a, const CustomIDType &b) const

Detailed Description

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

Definition at line 1120 of file BLI_vector_set.hh.

Member Typedef Documentation

◆ CustomIDType

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

Definition at line 1121 of file BLI_vector_set.hh.

Member Function Documentation

◆ operator()() [1/3]

template<typename T, typename GetIDFn>
bool blender::CustomIDEqual< T, GetIDFn >::operator() ( const CustomIDType & a,
const T & b ) const
inline

Definition at line 1127 of file BLI_vector_set.hh.

References b, and T.

◆ operator()() [2/3]

template<typename T, typename GetIDFn>
bool blender::CustomIDEqual< T, GetIDFn >::operator() ( const T & a,
const CustomIDType & b ) const
inline

Definition at line 1131 of file BLI_vector_set.hh.

References b, and T.

◆ operator()() [3/3]

template<typename T, typename GetIDFn>
bool blender::CustomIDEqual< T, GetIDFn >::operator() ( const T & a,
const T & b ) const
inline

Definition at line 1123 of file BLI_vector_set.hh.

References b, and T.


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