Blender V4.3
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 297 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 298 of file BLI_hash_tables.hh.

References b.


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