Blender V5.3
blender::DefaultHash< Ret(*)(Args...)> Struct Template Reference

#include <BLI_hash.hh>

Public Member Functions

constexpr uint64_t operator() (Ret(*fn)(Args...)) const

Detailed Description

template<typename Ret, typename... Args>
struct blender::DefaultHash< Ret(*)(Args...)>

Special overload for function pointers to avoid adding const to them which causes a warning with MSVC.

Definition at line 288 of file BLI_hash.hh.

Member Function Documentation

◆ operator()()

template<typename Ret, typename... Args>
uint64_t blender::DefaultHash< Ret(*)(Args...)>::operator() ( Ret(* fn )(Args...)) const
inlineconstexpr

Definition at line 289 of file BLI_hash.hh.

References blender::get_default_hash().


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