\label{doc_decisions_3_decided_key_below_md_md_doc_decisions_3_decided_key_below}%
\Hypertarget{doc_decisions_3_decided_key_below_md_md_doc_decisions_3_decided_key_below}%
 \hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2091}{}\doxysection{Problem}\label{doc_decisions_3_decided_key_below_md_autotoc_md2091}
There are multiple very similar functions to check the \char`\"{}is below\char`\"{} relation between to keys\+:


\begin{DoxyItemize}
\item Replacement {\ttfamily key\+Is\+Below}
\item Replacement {\ttfamily key\+Is\+Below\+Or\+Same}
\item Replacement {\ttfamily key\+Is\+Directly\+Below}
\end{DoxyItemize}\hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2092}{}\doxysection{Constraints}\label{doc_decisions_3_decided_key_below_md_autotoc_md2092}
Keep (at least) the same functionality\hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2093}{}\doxysection{Assumptions}\label{doc_decisions_3_decided_key_below_md_autotoc_md2093}
\hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2094}{}\doxysection{Considered Alternatives}\label{doc_decisions_3_decided_key_below_md_autotoc_md2094}
\hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2095}{}\doxysection{Decision}\label{doc_decisions_3_decided_key_below_md_autotoc_md2095}
Merge {\ttfamily key\+Is\+Below} with {\ttfamily key\+Is\+Below\+Or\+Same} and {\ttfamily key\+Is\+Directly\+Below} to create this new API\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keywordtype}{int} \mbox{\hyperlink{group__keytest_ga03332b5d97c76a4fd2640aca4762b8df}{keyIsBelow}} (\textcolor{keyword}{const} Key * base, \textcolor{keyword}{const} Key * other);}

\end{DoxyCode}


The replacements for the old functions are\+:


\begin{DoxyItemize}
\item old key\+Is\+Below\+: {\ttfamily key\+Is\+Below $>$ 0}
\item key\+Is\+Below\+Or\+Same\+: {\ttfamily key\+Is\+Below $>$= 0}
\item key\+Is\+Directly\+Below\+: {\ttfamily key\+Is\+Below == 1}
\end{DoxyItemize}\hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2096}{}\doxysection{Rationale}\label{doc_decisions_3_decided_key_below_md_autotoc_md2096}
\hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2097}{}\doxysection{Implications}\label{doc_decisions_3_decided_key_below_md_autotoc_md2097}
\hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2098}{}\doxysection{Related Decisions}\label{doc_decisions_3_decided_key_below_md_autotoc_md2098}
\hypertarget{doc_decisions_3_decided_key_below_md_autotoc_md2099}{}\doxysection{Notes}\label{doc_decisions_3_decided_key_below_md_autotoc_md2099}
