\hypertarget{bits_8cpp}{}\doxysection{tests/bits.cpp File Reference} \label{bits_8cpp}\index{tests/bits.cpp@{tests/bits.cpp}} {\ttfamily \#include \char`\"{}kblib/bits.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}catch.\+hpp\char`\"{}}\newline {\ttfamily \#include \char`\"{}kblib/hash.\+h\char`\"{}}\newline {\ttfamily \#include $<$type\+\_\+traits$>$}\newline Include dependency graph for bits.\+cpp\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{bits_8cpp__incl} \end{center} \end{figure} \doxysubsection*{Classes} \begin{DoxyCompactItemize} \item struct \mbox{\hyperlink{structbuffer}{buffer}} \item struct \mbox{\hyperlink{structbuffer_1_1ret__proxy}{buffer\+::ret\+\_\+proxy}} \item union \mbox{\hyperlink{union_addr1}{Addr1}} \item struct \mbox{\hyperlink{struct_addr}{Addr}} \item union \mbox{\hyperlink{unionpunner}{punner}} \end{DoxyCompactItemize} \doxysubsection*{Macros} \begin{DoxyCompactItemize} \item \#define \mbox{\hyperlink{bits_8cpp_a9311c51550d8fac774a907be5e22fca1}{KBLIB\+\_\+\+DEF\+\_\+\+MACROS}}~1 \end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{bits_8cpp_ac5fac09cb98219a12b6983068c144bc0}{TEST\+\_\+\+CASE}} (\char`\"{}test\+\_\+trie\char`\"{}) \item \mbox{\hyperlink{bits_8cpp_a05db7224d3f3eb226cc56286969608f1}{TEST\+\_\+\+CASE}} (\char`\"{}bitfields1\char`\"{}) \item \mbox{\hyperlink{tdecl_8h_a7f62d0731631a0e7675f45924b7f5ea0}{KBLIB\+\_\+\+NODISCARD}} constexpr auto \mbox{\hyperlink{bits_8cpp_aa71b8d729e21edfe135eebfdb4dbe9ed}{test\+\_\+bitfield}} () -\/$>$ \mbox{\hyperlink{struct_addr}{Addr}} \item \mbox{\hyperlink{bits_8cpp_ae9a4a508d60163ef54b20b17b71db0e2}{TEST\+\_\+\+CASE}} (\char`\"{}bitfields\char`\"{}) \item \mbox{\hyperlink{bits_8cpp_a2c5bb1f5a494be47dfd53a4c13fc1181}{TEST\+\_\+\+CASE}} (\char`\"{}union\+\_\+punning\char`\"{}) \item \mbox{\hyperlink{bits_8cpp_a349340569543b95ef42f22f3db20b9b9}{TEST\+\_\+\+CASE}} (\char`\"{}punning\char`\"{}) \end{DoxyCompactItemize} \doxysubsection{Macro Definition Documentation} \mbox{\Hypertarget{bits_8cpp_a9311c51550d8fac774a907be5e22fca1}\label{bits_8cpp_a9311c51550d8fac774a907be5e22fca1}} \index{bits.cpp@{bits.cpp}!KBLIB\_DEF\_MACROS@{KBLIB\_DEF\_MACROS}} \index{KBLIB\_DEF\_MACROS@{KBLIB\_DEF\_MACROS}!bits.cpp@{bits.cpp}} \doxysubsubsection{\texorpdfstring{KBLIB\_DEF\_MACROS}{KBLIB\_DEF\_MACROS}} {\footnotesize\ttfamily \#define KBLIB\+\_\+\+DEF\+\_\+\+MACROS~1} Definition at line \mbox{\hyperlink{bits_8cpp_source_l00001}{1}} of file \mbox{\hyperlink{bits_8cpp_source}{bits.\+cpp}}. \doxysubsection{Function Documentation} \mbox{\Hypertarget{bits_8cpp_aa71b8d729e21edfe135eebfdb4dbe9ed}\label{bits_8cpp_aa71b8d729e21edfe135eebfdb4dbe9ed}} \index{bits.cpp@{bits.cpp}!test\_bitfield@{test\_bitfield}} \index{test\_bitfield@{test\_bitfield}!bits.cpp@{bits.cpp}} \doxysubsubsection{\texorpdfstring{test\_bitfield()}{test\_bitfield()}} {\footnotesize\ttfamily \mbox{\hyperlink{tdecl_8h_a7f62d0731631a0e7675f45924b7f5ea0}{KBLIB\+\_\+\+NODISCARD}} constexpr auto test\+\_\+bitfield (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) -\/$>$ \mbox{\hyperlink{struct_addr}{Addr}} \hspace{0.3cm}{\ttfamily [constexpr]}} Definition at line \mbox{\hyperlink{bits_8cpp_source_l00141}{141}} of file \mbox{\hyperlink{bits_8cpp_source}{bits.\+cpp}}. \mbox{\Hypertarget{bits_8cpp_ae9a4a508d60163ef54b20b17b71db0e2}\label{bits_8cpp_ae9a4a508d60163ef54b20b17b71db0e2}} \index{bits.cpp@{bits.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!bits.cpp@{bits.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [1/5]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}bitfields\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{bits_8cpp_source_l00148}{148}} of file \mbox{\hyperlink{bits_8cpp_source}{bits.\+cpp}}. \mbox{\Hypertarget{bits_8cpp_a05db7224d3f3eb226cc56286969608f1}\label{bits_8cpp_a05db7224d3f3eb226cc56286969608f1}} \index{bits.cpp@{bits.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!bits.cpp@{bits.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [2/5]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}bitfields1\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{bits_8cpp_source_l00114}{114}} of file \mbox{\hyperlink{bits_8cpp_source}{bits.\+cpp}}. \mbox{\Hypertarget{bits_8cpp_a349340569543b95ef42f22f3db20b9b9}\label{bits_8cpp_a349340569543b95ef42f22f3db20b9b9}} \index{bits.cpp@{bits.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!bits.cpp@{bits.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [3/5]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}punning\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{bits_8cpp_source_l00196}{196}} of file \mbox{\hyperlink{bits_8cpp_source}{bits.\+cpp}}. \mbox{\Hypertarget{bits_8cpp_ac5fac09cb98219a12b6983068c144bc0}\label{bits_8cpp_ac5fac09cb98219a12b6983068c144bc0}} \index{bits.cpp@{bits.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!bits.cpp@{bits.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [4/5]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}test\+\_\+trie\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{bits_8cpp_source_l00066}{66}} of file \mbox{\hyperlink{bits_8cpp_source}{bits.\+cpp}}. \mbox{\Hypertarget{bits_8cpp_a2c5bb1f5a494be47dfd53a4c13fc1181}\label{bits_8cpp_a2c5bb1f5a494be47dfd53a4c13fc1181}} \index{bits.cpp@{bits.cpp}!TEST\_CASE@{TEST\_CASE}} \index{TEST\_CASE@{TEST\_CASE}!bits.cpp@{bits.cpp}} \doxysubsubsection{\texorpdfstring{TEST\_CASE()}{TEST\_CASE()}\hspace{0.1cm}{\footnotesize\ttfamily [5/5]}} {\footnotesize\ttfamily TEST\+\_\+\+CASE (\begin{DoxyParamCaption}\item[{\char`\"{}union\+\_\+punning\char`\"{}}]{ }\end{DoxyParamCaption})} Definition at line \mbox{\hyperlink{bits_8cpp_source_l00178}{178}} of file \mbox{\hyperlink{bits_8cpp_source}{bits.\+cpp}}.