\hypertarget{struct_k_b_l_i_b___n_s_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contd2b0c25de1e3df83b7699e68762c66d2}{}\doxysection{KBLIB\+\_\+\+NS\+::FNV\+\_\+hash\texorpdfstring{$<$}{<} T, Hash\+Int, void\+\_\+if\+\_\+t\texorpdfstring{$<$}{<} not is\+\_\+contiguous\+\_\+v\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>} and not std\+::is\+\_\+integral\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>}\+::value and not std\+::is\+\_\+pointer\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>}\+::value and is\+\_\+trivially\+\_\+hashable\+\_\+v\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>} \texorpdfstring{$>$}{>} \texorpdfstring{$>$}{>} Struct Template Reference} \label{struct_k_b_l_i_b___n_s_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contd2b0c25de1e3df83b7699e68762c66d2}\index{KBLIB\_NS::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous\_v$<$ T $>$ and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$@{KBLIB\_NS::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous\_v$<$ T $>$ and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$}} Hasher for any non-\/integral trivially copyable type that has no padding. {\ttfamily \#include $<$kblib/hash.\+h$>$} \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item auto \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contd2b0c25de1e3df83b7699e68762c66d2_ad94a2962b102b106850068fc6ec93f9f}{operator()}} (T key, Hash\+Int offset=\mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1fnv_1_1fnv__offset}{fnv\+::fnv\+\_\+offset}}$<$ Hash\+Int $>$\+::value) const noexcept -\/$>$ Hash\+Int \end{DoxyCompactItemize} \doxysubsection{Detailed Description} \subsubsection*{template$<$typename T, typename Hash\+Int$>$\newline struct KBLIB\+\_\+\+NS\+::\+FNV\+\_\+hash$<$ T, Hash\+Int, void\+\_\+if\+\_\+t$<$ not is\+\_\+contiguous\+\_\+v$<$ T $>$ and not std\+::is\+\_\+integral$<$ T $>$\+::value and not std\+::is\+\_\+pointer$<$ T $>$\+::value and is\+\_\+trivially\+\_\+hashable\+\_\+v$<$ T $>$ $>$ $>$} Hasher for any non-\/integral trivially copyable type that has no padding. \begin{DoxyNote}{Note} Unfortunately, this specialization cannot be constexpr until C++20 brings std\+::bit\+\_\+cast. \end{DoxyNote} Definition at line \mbox{\hyperlink{hash_8h_source_l00562}{562}} of file \mbox{\hyperlink{hash_8h_source}{hash.\+h}}. \doxysubsection{Member Function Documentation} \mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contd2b0c25de1e3df83b7699e68762c66d2_ad94a2962b102b106850068fc6ec93f9f}\label{struct_k_b_l_i_b___n_s_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contd2b0c25de1e3df83b7699e68762c66d2_ad94a2962b102b106850068fc6ec93f9f}} \index{KBLIB\_NS::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous\_v$<$ T $>$ and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$@{KBLIB\_NS::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous\_v$<$ T $>$ and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$}!operator()@{operator()}} \index{operator()@{operator()}!KBLIB\_NS::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous\_v$<$ T $>$ and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$@{KBLIB\_NS::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous\_v$<$ T $>$ and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$}} \doxysubsubsection{\texorpdfstring{operator()()}{operator()()}} {\footnotesize\ttfamily template$<$typename T , typename Hash\+Int $>$ \\ auto \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1_f_n_v__hash}{KBLIB\+\_\+\+NS\+::\+FNV\+\_\+hash}}$<$ T, Hash\+Int, \mbox{\hyperlink{namespace_k_b_l_i_b___n_s_a0091fb16bc1767a3e5e1cff5aa8dff53}{void\+\_\+if\+\_\+t}}$<$ not \mbox{\hyperlink{namespace_k_b_l_i_b___n_s_a2530a939dc0029a61d40e4b71d24a326}{is\+\_\+contiguous\+\_\+v}}$<$ T $>$ and not std\+::is\+\_\+integral$<$ T $>$\+::value and not std\+::is\+\_\+pointer$<$ T $>$\+::value and \mbox{\hyperlink{namespace_k_b_l_i_b___n_s_ab285613a76758ad7a7693b5562101634}{is\+\_\+trivially\+\_\+hashable\+\_\+v}}$<$ T $>$ $>$ $>$\+::operator() (\begin{DoxyParamCaption}\item[{T}]{key, }\item[{Hash\+Int}]{offset = {\ttfamily \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1fnv_1_1fnv__offset}{fnv\+::fnv\+\_\+offset}}$<$HashInt$>$\+:\+:value} }\end{DoxyParamCaption}) const -\/$>$ Hash\+Int \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}} Definition at line \mbox{\hyperlink{hash_8h_source_l00567}{567}} of file \mbox{\hyperlink{hash_8h_source}{hash.\+h}}. The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item kblib/\mbox{\hyperlink{hash_8h}{hash.\+h}}\end{DoxyCompactItemize}