kblib 0.2.3
General utilities library for modern C++
kblib::FNV_hash< std::variant< Ts... >, HashInt, void_if_t< detail_hash::all_hashable< std::tuple< Ts... > >()> > Struct Template Reference

#include <kblib/hash.h>

Public Member Functions

constexpr auto operator() (const std::variant< Ts... > &key, HashInt offset=fnv::fnv_offset< HashInt >::value) const noexcept -> HashInt
 

Detailed Description

template<typename... Ts, typename HashInt>
struct kblib::FNV_hash< std::variant< Ts... >, HashInt, void_if_t< detail_hash::all_hashable< std::tuple< Ts... > >()> >

Definition at line 727 of file hash.h.

Member Function Documentation

◆ operator()()

template<typename... Ts, typename HashInt >
constexpr auto kblib::FNV_hash< std::variant< Ts... >, HashInt, void_if_t< detail_hash::all_hashable< std::tuple< Ts... > >()> >::operator() ( const std::variant< Ts... > &  key,
HashInt  offset = fnv::fnv_offset<HashInt>::value 
) const -> HashInt
inlineconstexprnoexcept

Definition at line 729 of file hash.h.


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