\hypertarget{direct__map_8cpp_source}{}\doxysection{direct\+\_\+map.\+cpp}
\label{direct__map_8cpp_source}\index{tests/direct\_map.cpp@{tests/direct\_map.cpp}}
\mbox{\hyperlink{direct__map_8cpp}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00001}00001 \textcolor{preprocessor}{\#include "{}catch.hpp"{}}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00002}00002 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00003}00003 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{direct__map_8h}{kblib/direct\_map.h}}>}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00004}00004 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00005}00005 \textcolor{comment}{// these tests assume char min != 0}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00006}00006 \textcolor{keyword}{static\_assert}(std::is\_signed\_v<char>);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00007}00007 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00008}\mbox{\hyperlink{direct__map_8cpp_a078edc30d9585091e726e2791d4b9a5c}{00008}} \mbox{\hyperlink{direct__map_8cpp_a078edc30d9585091e726e2791d4b9a5c}{TEST\_CASE}}(\textcolor{stringliteral}{"{}direct\_map"{}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00009}00009    \mbox{\hyperlink{classkblib_1_1direct__map}{kblib::direct\_map<char, std::string>}} \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00010}00010    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00011}00011    REQUIRE((\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size()) == 0); \textcolor{comment}{// extra parens to silence a warning}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00012}00012    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.empty());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00013}00013    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00014}00014    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'a'}] = \textcolor{stringliteral}{"{}42"{}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00015}00015    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00016}00016    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'b'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00017}00017    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00018}00018    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00019}00019    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00020}00020    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 1);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00021}00021    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00022}00022       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00023}00023       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00024}00024       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00025}00025       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00026}00026       REQUIRE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00027}00027       CHECK(b-\/>first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00028}00028       CHECK(b-\/>second == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00029}00029    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00030}00030    REQUIRE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00031}00031    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == -\/-\/\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00032}00032    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.lower\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00033}00033    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00034}00034    \textcolor{keywordflow}{for} (\textcolor{keyword}{const} \textcolor{keyword}{auto}\& el : \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00035}00035       REQUIRE(el.first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00036}00036       REQUIRE(el.second == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00037}00037    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00038}00038 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00039}00039    \textcolor{keyword}{const} \textcolor{keyword}{auto} ZERO\_V = \textcolor{stringliteral}{"{}4567854"{}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00040}00040    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'\(\backslash\)0'}] = ZERO\_V;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00041}00041    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'\(\backslash\)0'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00042}00042    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00043}00043    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'\(\backslash\)0'}) == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00044}00044    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00045}00045    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00046}00046       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00047}00047       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'\(\backslash\)0'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00048}00048       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00049}00049       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00050}00050       REQUIRE(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00051}00051       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00052}00052       REQUIRE(b-\/>second == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00053}00053       REQUIRE\_FALSE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00054}00054    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00055}00055    REQUIRE\_FALSE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00056}00056    REQUIRE(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00057}00057    REQUIRE(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00058}00058    REQUIRE(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00059}00059    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'\(\backslash\)t'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00060}00060 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00061}00061    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}()] = \textcolor{stringliteral}{"{}2"{}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00062}00062    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00063}00063    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00064}00064    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.min()));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00065}00065    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.min()) == \textcolor{stringliteral}{"{}2"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00066}00066    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00067}00067       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00068}00068       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00069}00069       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00070}00070       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00071}00071       REQUIRE(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00072}00072       REQUIRE(f-\/>second == \textcolor{stringliteral}{"{}2"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00073}00073       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00074}00074       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00075}00075       REQUIRE\_FALSE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00076}00076    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00077}00077    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00078}00078    REQUIRE\_FALSE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00079}00079    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00080}00080       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00081}00081       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00082}00082       CHECK(b-\/>first == \textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00083}00083       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00084}00084       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00085}00085       CHECK(b-\/>first == 0);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00086}00086       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00087}00087       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00088}00088       CHECK(b-\/>first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00089}00089       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00090}00090       REQUIRE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00091}00091    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00092}00092    REQUIRE(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00093}00093    REQUIRE(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00094}00094    REQUIRE(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00095}00095    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00096}00096       \textcolor{keyword}{auto} map2 = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00097}00097       REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00098}00098       \textcolor{keyword}{auto} map3 = std::move(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00099}00099       REQUIRE(map2 == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00100}00100       map2.swap(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00101}00101       REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00102}00102    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00103}00103 \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00104}00104 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00105}00105 \mbox{\hyperlink{tdecl_8h_a607cffc585fe3bfcb06b63be2948de4a}{KBLIB\_UNUSED}} \textcolor{keyword}{static} \textcolor{keyword}{constexpr} \textcolor{keyword}{auto} l(\mbox{\hyperlink{classkblib_1_1direct__map}{kblib::direct\_map<char, int>}}\& \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}},}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00106}00106                                      \mbox{\hyperlink{classkblib_1_1direct__map}{kblib::direct\_map<char, int>}}\& map2,}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00107}00107                                      \mbox{\hyperlink{classkblib_1_1direct__map}{kblib::direct\_map<char, int>}}\& map3)}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00108}00108     -\/> \textcolor{keywordtype}{bool} \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00109}00109    \textcolor{keyword}{using }map\_t = \mbox{\hyperlink{classkblib_1_1direct__map}{kblib::direct\_map<char, int>}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00110}00110    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'a'}] = 42;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00111}00111    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00112}00112    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(not \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'b'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00113}00113    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00114}00114    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() != \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00115}00115    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00116}00116    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 1);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00117}00117    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00118}00118       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00119}00119       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00120}00120       \textcolor{keyword}{auto} n = b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00121}00121       ++n;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00122}00122       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(b != n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00123}00123       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(b-\/>second == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00124}00124       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00125}00125    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00126}00126    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == -\/-\/\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00127}00127    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.lower\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00128}00128    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00129}00129    \textcolor{keywordflow}{for} (\textcolor{keyword}{auto} el : \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00130}00130       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(el.first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00131}00131       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(el.second == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00132}00132    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00133}00133 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00134}00134    \textcolor{keyword}{const} \textcolor{keyword}{auto} ZERO\_V = 4567854;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00135}00135    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'\(\backslash\)0'}] = ZERO\_V;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00136}00136    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'\(\backslash\)0'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00137}00137    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00138}00138    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'\(\backslash\)0'}) == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00139}00139    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00140}00140    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00141}00141       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00142}00142       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'\(\backslash\)0'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00143}00143       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00144}00144       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00145}00145       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00146}00146       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(b != n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00147}00147       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(b-\/>second == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00148}00148       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(n != \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00149}00149    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00150}00150    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() != \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00151}00151    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00152}00152    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00153}00153    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00154}00154    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'\(\backslash\)t'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00155}00155 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00156}00156    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{map\_t::min}}()] = 2;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00157}00157    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00158}00158    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{map\_t::min}}()) == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00159}00159    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00160}00160       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00161}00161       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{map\_t::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00162}00162       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00163}00163       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00164}00164       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(f-\/>second == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00165}00165       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(b != n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00166}00166       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(b != \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00167}00167       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(n != \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00168}00168    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00169}00169    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() != \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00170}00170    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00171}00171    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00172}00172    \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00173}00173    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00174}00174       map2 = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00175}00175       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00176}00176       map3 = std::move(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00177}00177       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(map2 == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00178}00178       map2.swap(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00179}00179       \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{void}\textcolor{keyword}{>}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00180}00180    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00181}00181    \textcolor{keywordflow}{return} \textcolor{keyword}{true};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00182}00182 \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00183}00183 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00184}\mbox{\hyperlink{direct__map_8cpp_acbafaf050e5f8a1550296fcccddb7de0}{00184}} \mbox{\hyperlink{direct__map_8cpp_a078edc30d9585091e726e2791d4b9a5c}{TEST\_CASE}}(\textcolor{stringliteral}{"{}direct\_map<trivial>"{}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00185}00185    \mbox{\hyperlink{classkblib_1_1direct__map}{kblib::direct\_map<char, int>}} \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00186}00186    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00187}00187    REQUIRE((\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size()) == 0);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00188}00188    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.empty());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00189}00189    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00190}00190    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'a'}] = 42;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00191}00191    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00192}00192    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'b'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00193}00193    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00194}00194    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00195}00195    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00196}00196    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 1);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00197}00197    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00198}00198       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00199}00199       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00200}00200       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00201}00201       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00202}00202       REQUIRE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00203}00203       CHECK(b-\/>first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00204}00204       CHECK(b-\/>second == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00205}00205    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00206}00206    REQUIRE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00207}00207    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == -\/-\/\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00208}00208    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.lower\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00209}00209    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00210}00210    \textcolor{keywordflow}{for} (\textcolor{keyword}{auto} el : \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00211}00211       REQUIRE(el.first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00212}00212       REQUIRE(el.second == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00213}00213    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00214}00214 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00215}00215    \textcolor{keyword}{const} \textcolor{keyword}{auto} ZERO\_V = 4567854;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00216}00216    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'\(\backslash\)0'}] = ZERO\_V;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00217}00217    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'\(\backslash\)0'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00218}00218    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00219}00219    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'\(\backslash\)0'}) == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00220}00220    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00221}00221    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00222}00222       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00223}00223       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'\(\backslash\)0'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00224}00224       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00225}00225       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00226}00226       REQUIRE(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00227}00227       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00228}00228       REQUIRE(b-\/>second == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00229}00229       REQUIRE\_FALSE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00230}00230    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00231}00231    REQUIRE\_FALSE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00232}00232    REQUIRE(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00233}00233    REQUIRE(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00234}00234    REQUIRE(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00235}00235    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'\(\backslash\)t'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00236}00236 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00237}00237    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}()] = 2;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00238}00238    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00239}00239    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00240}00240    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.min()));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00241}00241    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.min()) == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00242}00242    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00243}00243       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00244}00244       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00245}00245       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00246}00246       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00247}00247       REQUIRE(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00248}00248       REQUIRE(f-\/>second == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00249}00249       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00250}00250       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00251}00251       REQUIRE\_FALSE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00252}00252    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00253}00253    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00254}00254    REQUIRE\_FALSE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00255}00255    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00256}00256       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00257}00257       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00258}00258       CHECK(b-\/>first == \textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00259}00259       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00260}00260       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00261}00261       CHECK(b-\/>first == 0);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00262}00262       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00263}00263       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00264}00264       CHECK(b-\/>first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00265}00265       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00266}00266       REQUIRE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00267}00267    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00268}00268    REQUIRE(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00269}00269    REQUIRE(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00270}00270    REQUIRE(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00271}00271    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00272}00272       \textcolor{keyword}{auto} map2 = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00273}00273       REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00274}00274       \textcolor{keyword}{auto} map3 = std::move(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00275}00275       REQUIRE(map2 == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00276}00276       map2.swap(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00277}00277       REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00278}00278    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00279}00279 \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00280}00280 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00281}\mbox{\hyperlink{direct__map_8cpp_a04e556e16faa2dad2878c161ca8d5201}{00281}} \mbox{\hyperlink{direct__map_8cpp_a078edc30d9585091e726e2791d4b9a5c}{TEST\_CASE}}(\textcolor{stringliteral}{"{}direct\_map (heap)"{}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00282}00282    \mbox{\hyperlink{classkblib_1_1direct__map}{kblib::direct\_map}}<char, std::string,}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00283}00283                      std::allocator<std::pair<const char, std::string>>>}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00284}00284        \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00285}00285    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00286}00286    REQUIRE((\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size()) == 0);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00287}00287    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.empty());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00288}00288    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00289}00289    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'a'}] = \textcolor{stringliteral}{"{}42"{}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00290}00290    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00291}00291    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'b'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00292}00292    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00293}00293    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00294}00294    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00295}00295    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 1);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00296}00296    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00297}00297       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00298}00298       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00299}00299       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00300}00300       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00301}00301       REQUIRE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00302}00302       CHECK(b-\/>first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00303}00303       CHECK(b-\/>second == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00304}00304    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00305}00305    REQUIRE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00306}00306    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == -\/-\/\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00307}00307    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.lower\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00308}00308    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00309}00309    \textcolor{keywordflow}{for} (\textcolor{keyword}{const} \textcolor{keyword}{auto}\& el : \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00310}00310       REQUIRE(el.first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00311}00311       REQUIRE(el.second == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00312}00312    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00313}00313 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00314}00314    \textcolor{keyword}{const} \textcolor{keyword}{auto} ZERO\_V = \textcolor{stringliteral}{"{}4567854"{}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00315}00315    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'\(\backslash\)0'}] = ZERO\_V;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00316}00316    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'\(\backslash\)0'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00317}00317    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00318}00318    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'\(\backslash\)0'}) == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00319}00319    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00320}00320    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00321}00321       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00322}00322       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'\(\backslash\)0'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00323}00323       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00324}00324       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00325}00325       REQUIRE(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00326}00326       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00327}00327       REQUIRE(b-\/>second == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00328}00328       REQUIRE\_FALSE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00329}00329    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00330}00330    REQUIRE\_FALSE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00331}00331    REQUIRE(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00332}00332    REQUIRE(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00333}00333    REQUIRE(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00334}00334    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'\(\backslash\)t'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00335}00335 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00336}00336    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}()] = \textcolor{stringliteral}{"{}2"{}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00337}00337    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00338}00338    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == \textcolor{stringliteral}{"{}42"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00339}00339    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.min()));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00340}00340    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.min()) == \textcolor{stringliteral}{"{}2"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00341}00341    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00342}00342       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00343}00343       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00344}00344       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00345}00345       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00346}00346       REQUIRE(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00347}00347       REQUIRE(f-\/>second == \textcolor{stringliteral}{"{}2"{}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00348}00348       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00349}00349       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00350}00350       REQUIRE\_FALSE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00351}00351    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00352}00352    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00353}00353    REQUIRE\_FALSE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00354}00354    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00355}00355       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00356}00356       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00357}00357       CHECK(b-\/>first == \textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00358}00358       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00359}00359       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00360}00360       CHECK(b-\/>first == 0);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00361}00361       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00362}00362       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00363}00363       CHECK(b-\/>first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00364}00364       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00365}00365       REQUIRE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00366}00366    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00367}00367    REQUIRE(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00368}00368    REQUIRE(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00369}00369    REQUIRE(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00370}00370    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00371}00371       \textcolor{keyword}{auto} map2 = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00372}00372       REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00373}00373       \textcolor{keyword}{auto} map3 = std::move(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00374}00374       REQUIRE(map2 == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00375}00375       map2.swap(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00376}00376       REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00377}00377    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00378}00378 \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00379}00379 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00380}\mbox{\hyperlink{direct__map_8cpp_a5d186e5ddabcb8bf724035ea18ccdee3}{00380}} \mbox{\hyperlink{direct__map_8cpp_a078edc30d9585091e726e2791d4b9a5c}{TEST\_CASE}}(\textcolor{stringliteral}{"{}direct\_map<trivial> (heap)"{}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00381}00381    \mbox{\hyperlink{classkblib_1_1direct__map}{kblib::direct\_map}}<char, int,}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00382}00382                      std::allocator<std::pair<const char, std::string>>>}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00383}00383        \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00384}00384    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00385}00385    REQUIRE((\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size()) == 0);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00386}00386    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.empty());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00387}00387    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00388}00388    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'a'}] = 42;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00389}00389    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00390}00390    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'b'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00391}00391    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00392}00392    REQUIRE\_FALSE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00393}00393    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00394}00394    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 1);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00395}00395    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00396}00396       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00397}00397       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00398}00398       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00399}00399       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00400}00400       REQUIRE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00401}00401       CHECK(b-\/>first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00402}00402       CHECK(b-\/>second == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00403}00403    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00404}00404    REQUIRE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00405}00405    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == -\/-\/\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00406}00406    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.lower\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00407}00407    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'a'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00408}00408    \textcolor{keywordflow}{for} (\textcolor{keyword}{auto} el : \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}) \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00409}00409       REQUIRE(el.first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00410}00410       REQUIRE(el.second == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00411}00411    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00412}00412 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00413}00413    \textcolor{keyword}{const} \textcolor{keyword}{auto} ZERO\_V = 4567854;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00414}00414    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{charliteral}{'\(\backslash\)0'}] = ZERO\_V;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00415}00415    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'\(\backslash\)0'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00416}00416    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00417}00417    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'\(\backslash\)0'}) == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00418}00418    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00419}00419    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00420}00420       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00421}00421       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'\(\backslash\)0'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00422}00422       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00423}00423       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00424}00424       REQUIRE(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00425}00425       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00426}00426       REQUIRE(b-\/>second == ZERO\_V);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00427}00427       REQUIRE\_FALSE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00428}00428    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00429}00429    REQUIRE\_FALSE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00430}00430    REQUIRE(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00431}00431    REQUIRE(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 2) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00432}00432    REQUIRE(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00433}00433    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.upper\_bound(\textcolor{charliteral}{'\(\backslash\)t'}) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00434}00434 }
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00435}00435    \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}[\textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}()] = 2;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00436}00436    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\textcolor{charliteral}{'a'}));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00437}00437    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\textcolor{charliteral}{'a'}) == 42);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00438}00438    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.contains(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.min()));}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00439}00439    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.at(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.min()) == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00440}00440    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00441}00441       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00442}00442       \textcolor{keyword}{auto} f = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.find(\textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00443}00443       \textcolor{keyword}{auto} \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}} = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00444}00444       \textcolor{keyword}{auto} n = std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00445}00445       REQUIRE(b == f);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00446}00446       REQUIRE(f-\/>second == 2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00447}00447       REQUIRE\_FALSE(b == n);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00448}00448       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00449}00449       REQUIRE\_FALSE(n == \mbox{\hyperlink{namespacekblib_a536badb265b62a85034f48e0eac76a1b}{e}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00450}00450    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00451}00451    REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.size() == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00452}00452    REQUIRE\_FALSE(++\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin() == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00453}00453    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00454}00454       \textcolor{keyword}{auto} b = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin();}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00455}00455       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00456}00456       CHECK(b-\/>first == \textcolor{keyword}{decltype}(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}})\mbox{\hyperlink{namespacekblib_1_1nums_a24555c4b07301e176bf192adf4e80499}{::min}}());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00457}00457       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00458}00458       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00459}00459       CHECK(b-\/>first == 0);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00460}00460       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00461}00461       REQUIRE\_FALSE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00462}00462       CHECK(b-\/>first == \textcolor{charliteral}{'a'});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00463}00463       ++b;}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00464}00464       REQUIRE(b == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00465}00465    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00466}00466    REQUIRE(std::next(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00467}00467    REQUIRE(std::prev(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end(), 3) == \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin());}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00468}00468    REQUIRE(std::distance(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.begin(), \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}}.end()) == 3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00469}00469    \{}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00470}00470       \textcolor{keyword}{auto} map2 = \mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}};}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00471}00471       REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map2);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00472}00472       \textcolor{keyword}{auto} map3 = std::move(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00473}00473       REQUIRE(map2 == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00474}00474       map2.swap(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}});}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00475}00475       REQUIRE(\mbox{\hyperlink{namespacekblib_a1490492d82c28f195f0f44a9d88fb2cc}{map}} == map3);}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00476}00476    \}}
\DoxyCodeLine{\Hypertarget{direct__map_8cpp_source_l00477}00477 \}}

\end{DoxyCode}
