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

#include <bmesh_polygon.hh>

Public Member Functions

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

Detailed Description

template<typename Ret, typename... Args>
struct blender::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 bmesh_polygon.hh.

Member Function Documentation

◆ operator()()

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

Definition at line 289 of file bmesh_polygon.hh.


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