kblib 0.2.3
General utilities library for modern C++
kblib::detail_poly::erased_hash_t< T, void_t< fakestd::invoke_result_t< std::hash< T >, T > > > Struct Template Reference

#include <kblib/poly_obj.h>

Static Public Member Functions

static auto default_hash (void *obj) -> std::size_t
 

Public Attributes

alias< std::size_t(*)(void *)> hash = &default_hash
 

Detailed Description

template<typename T>
struct kblib::detail_poly::erased_hash_t< T, void_t< fakestd::invoke_result_t< std::hash< T >, T > > >

Definition at line 187 of file poly_obj.h.

Member Function Documentation

◆ default_hash()

template<typename T >
static auto kblib::detail_poly::erased_hash_t< T, void_t< fakestd::invoke_result_t< std::hash< T >, T > > >::default_hash ( void *  obj) -> std::size_t
inlinestatic

Definition at line 188 of file poly_obj.h.

Member Data Documentation

◆ hash

template<typename T >
alias<std::size_t (*)(void*)> kblib::detail_poly::erased_hash_t< T, void_t< fakestd::invoke_result_t< std::hash< T >, T > > >::hash = &default_hash

Definition at line 192 of file poly_obj.h.


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