Blender V5.0
blender::PointerComparison Struct Reference

#include <BLI_hash_tables.hh>

Inherited by blender::DefaultEquality< std::shared_ptr< T > >, and blender::DefaultEquality< std::unique_ptr< T > >.

Public Member Functions

template<typename T1, typename T2>
bool operator() (const T1 &a, const T2 &b) const

Detailed Description

Support comparing different kinds of raw and smart pointers.

Definition at line 295 of file BLI_hash_tables.hh.

Member Function Documentation

◆ operator()()

template<typename T1, typename T2>
bool blender::PointerComparison::operator() ( const T1 & a,
const T2 & b ) const
inline

Definition at line 296 of file BLI_hash_tables.hh.

References b, T1, and T2.


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