\hypertarget{structkblib_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contiguous_3_01697ca2dc984f08401e86442d1c2e165b}{}\doxysection{kblib\+::FNV\+\_\+hash\texorpdfstring{$<$}{<} T, Hash\+Int, void\+\_\+if\+\_\+t\texorpdfstring{$<$}{<} not is\+\_\+contiguous\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>}\+::value 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{structkblib_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contiguous_3_01697ca2dc984f08401e86442d1c2e165b}\index{kblib::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous$<$ T $>$::value and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$@{kblib::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous$<$ T $>$::value 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{structkblib_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contiguous_3_01697ca2dc984f08401e86442d1c2e165b_a436d9bf58f7bba81a413c8479bd1b1fa}{operator()}} (T key, Hash\+Int offset=\mbox{\hyperlink{structkblib_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\+::\+FNV\+\_\+hash$<$ T, Hash\+Int, void\+\_\+if\+\_\+t$<$ not is\+\_\+contiguous$<$ T $>$\+::value 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_l00561}{561}} of file \mbox{\hyperlink{hash_8h_source}{hash.\+h}}. \doxysubsection{Member Function Documentation} \mbox{\Hypertarget{structkblib_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contiguous_3_01697ca2dc984f08401e86442d1c2e165b_a436d9bf58f7bba81a413c8479bd1b1fa}\label{structkblib_1_1_f_n_v__hash_3_01_t_00_01_hash_int_00_01void__if__t_3_01not_01is__contiguous_3_01697ca2dc984f08401e86442d1c2e165b_a436d9bf58f7bba81a413c8479bd1b1fa}} \index{kblib::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous$<$ T $>$::value and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$@{kblib::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous$<$ T $>$::value 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::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous$<$ T $>$::value and not std::is\_integral$<$ T $>$::value and not std::is\_pointer$<$ T $>$::value and is\_trivially\_hashable\_v$<$ T $>$ $>$ $>$@{kblib::FNV\_hash$<$ T, HashInt, void\_if\_t$<$ not is\_contiguous$<$ T $>$::value 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{structkblib_1_1_f_n_v__hash}{kblib\+::\+FNV\+\_\+hash}}$<$ T, Hash\+Int, \mbox{\hyperlink{namespacekblib_ab3cc24416f0b9a6504e1c6a437ed6230}{void\+\_\+if\+\_\+t}}$<$ not \mbox{\hyperlink{structkblib_1_1is__contiguous}{is\+\_\+contiguous}}$<$ T $>$\+::value and not std\+::is\+\_\+integral$<$ T $>$\+::value and not std\+::is\+\_\+pointer$<$ T $>$\+::value and \mbox{\hyperlink{namespacekblib_a16db4408c7a9d67eb38141aee1588ebd}{is\+\_\+trivially\+\_\+hashable\+\_\+v}}$<$ T $>$ $>$ $>$\+::operator() (\begin{DoxyParamCaption}\item[{T}]{key, }\item[{Hash\+Int}]{offset = {\ttfamily \mbox{\hyperlink{structkblib_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_l00566}{566}} 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}