\hypertarget{namespace_k_b_l_i_b___n_s_1_1detail__algorithm}{}\doxysection{KBLIB\+\_\+\+NS\+::detail\+\_\+algorithm Namespace Reference}
\label{namespace_k_b_l_i_b___n_s_1_1detail__algorithm}\index{KBLIB\_NS::detail\_algorithm@{KBLIB\_NS::detail\_algorithm}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$class Forward\+It $>$ }\\constexpr auto \mbox{\hyperlink{namespace_k_b_l_i_b___n_s_1_1detail__algorithm_a85921b9111a9f887950a920b552e7d4a}{shift\+\_\+backward}} (Forward\+It first, Forward\+It n\+\_\+first, Forward\+It last) noexcept(noexcept($\ast$first=std\+::move($\ast$first))) -\/$>$ void
\begin{DoxyCompactList}\small\item\em Implementation function for insertion\+\_\+sort\+\_\+copy. Like std\+::move(begin, end, d\+\_\+begin) but using the interface of rotate and supporting backward overlapping, but not forward overlapping. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{namespace_k_b_l_i_b___n_s_1_1detail__algorithm_a85921b9111a9f887950a920b552e7d4a}\label{namespace_k_b_l_i_b___n_s_1_1detail__algorithm_a85921b9111a9f887950a920b552e7d4a}} 
\index{KBLIB\_NS::detail\_algorithm@{KBLIB\_NS::detail\_algorithm}!shift\_backward@{shift\_backward}}
\index{shift\_backward@{shift\_backward}!KBLIB\_NS::detail\_algorithm@{KBLIB\_NS::detail\_algorithm}}
\doxysubsubsection{\texorpdfstring{shift\_backward()}{shift\_backward()}}
{\footnotesize\ttfamily template$<$class Forward\+It $>$ \\
constexpr auto KBLIB\+\_\+\+NS\+::detail\+\_\+algorithm\+::shift\+\_\+backward (\begin{DoxyParamCaption}\item[{Forward\+It}]{first,  }\item[{Forward\+It}]{n\+\_\+first,  }\item[{Forward\+It}]{last }\end{DoxyParamCaption}) -\/$>$ void \hspace{0.3cm}{\ttfamily [constexpr]}, {\ttfamily [noexcept]}}



Implementation function for insertion\+\_\+sort\+\_\+copy. Like std\+::move(begin, end, d\+\_\+begin) but using the interface of rotate and supporting backward overlapping, but not forward overlapping. 


\begin{DoxyParams}{Parameters}
{\em first} & Start of range to assign to \\
\hline
{\em n\+\_\+first} & Start of range to read from \\
\hline
{\em last} & End of range to read from \\
\hline
\end{DoxyParams}


Definition at line \mbox{\hyperlink{algorithm_8h_source_l01714}{1714}} of file \mbox{\hyperlink{algorithm_8h_source}{algorithm.\+h}}.

