Blender V5.0
blender::PointerHashes< T > Struct Template Reference

#include <BLI_hash.hh>

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

Public Member Functions

template<typename U>
uint64_t operator() (const U &value) const

Detailed Description

template<typename T>
struct blender::PointerHashes< T >

Support hashing different kinds of pointer types.

Definition at line 240 of file BLI_hash.hh.

Member Function Documentation

◆ operator()()

template<typename T>
template<typename U>
uint64_t blender::PointerHashes< T >::operator() ( const U & value) const
inline

Definition at line 241 of file BLI_hash.hh.

References blender::get_default_hash(), and U.


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