\hypertarget{trie_8cpp_source}{}\doxysection{trie.\+cpp}
\label{trie_8cpp_source}\index{tests/trie.cpp@{tests/trie.cpp}}
\mbox{\hyperlink{trie_8cpp}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00001}00001 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{trie_8h}{kblib/trie.h}}"{}}}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00002}00002 }
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00003}00003 \textcolor{preprocessor}{\#if KBLIB\_USE\_CXX17}}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00004}00004 }
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00005}00005 \textcolor{preprocessor}{\#  include "{}catch.hpp"{}}}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00006}00006 }
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00007}00007 \textcolor{preprocessor}{\#  include <string>}}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00008}00008 }
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00009}\mbox{\hyperlink{trie_8cpp_a725a74ab963a651c15929039a7498392}{00009}} \mbox{\hyperlink{trie_8cpp_a725a74ab963a651c15929039a7498392}{TEST\_CASE}}(\textcolor{stringliteral}{"{}trie"{}}) \{}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00010}00010    \mbox{\hyperlink{tdecl_8h_a607cffc585fe3bfcb06b63be2948de4a}{KBLIB\_UNUSED}} \textcolor{keyword}{auto} \mbox{\hyperlink{main_8cpp_a87feefefd3868afd53b1f40314e0dce0}{test}} = \mbox{\hyperlink{classkblib_1_1trie}{kblib::trie<std::string, int>}}\{\};}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00011}00011    \textcolor{keyword}{static\_assert}(std::is\_same<kblib::indexer\_extractor<std::string>,}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00012}00012                               \mbox{\hyperlink{namespacekblib_a0ec1db9166c1c7928e764aa17e4f01e6}{kblib::default\_extractor\_t<std::string>}}>::value,}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00013}00013                  \textcolor{stringliteral}{"{}default\_extractor<std::string> is indexer"{}});}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00014}00014    \textcolor{keyword}{static\_assert}(\mbox{\hyperlink{structkblib_1_1extractor__policy__for}{kblib::extractor\_policy\_for<std::string>::value}}}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00015}00015                      == \mbox{\hyperlink{namespacekblib_a54f01b64a070a7f3e916ec21e1d0145fa298bbb8f070170fc998ccac67856211b}{kblib::extractor\_policy::random\_access}},}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00016}00016                  \textcolor{stringliteral}{"{}std::string is a random access container"{}});}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00017}00017    \textcolor{keyword}{static\_assert}(}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00018}00018        std::is\_same<typename kblib::indexer\_extractor<std::string>::value\_type,}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00019}00019                     \textcolor{keywordtype}{char}>::value,}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00020}00020        \textcolor{stringliteral}{"{}value\_type of std::string is char"{}});}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00021}00021    \mbox{\hyperlink{tdecl_8h_a607cffc585fe3bfcb06b63be2948de4a}{KBLIB\_UNUSED}} \textcolor{keyword}{auto} test2 = \mbox{\hyperlink{classkblib_1_1trie}{kblib::trie<char, int>}}\{\};}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00022}00022    \mbox{\hyperlink{tdecl_8h_a607cffc585fe3bfcb06b63be2948de4a}{KBLIB\_UNUSED}} \textcolor{keyword}{auto} test3 = \mbox{\hyperlink{classkblib_1_1trie}{kblib::trie<char[], int>}}\{\};}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00023}00023 \}}
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00024}00024 }
\DoxyCodeLine{\Hypertarget{trie_8cpp_source_l00025}00025 \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
