\hypertarget{class_k_b_l_i_b___n_s_1_1stack}{}\doxysection{KBLIB\+\_\+\+NS\+::stack\texorpdfstring{$<$}{<} T, Container \texorpdfstring{$>$}{>} Class Template Reference}
\label{class_k_b_l_i_b___n_s_1_1stack}\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}


{\ttfamily \#include $<$kblib/containers.\+h$>$}

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}} = Container
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a3ecb393363812b54f25b734580c72b98}{value\+\_\+type}} = typename Container\+::value\+\_\+type
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a1c5fbc40f2500e5cdfbefda5bfa08298}{size\+\_\+type}} = typename Container\+::size\+\_\+type
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_aa223ee7846a2da459dc4519f006d65f8}{reference}} = typename Container\+::reference
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ad0ca2c43780804f8aac9425ce2bb6bbb}{const\+\_\+reference}} = typename Container\+::const\+\_\+reference
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a3c20235ec06e2243f22fbbf6b2ccbd36}{stack}} ()
\item 
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a569eea1831f98e15b3dfe351526bcb02}{stack}} (const Container \&cont)
\item 
{\footnotesize template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ }\\\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a04904202a5c2b8652b915eb588733665}{stack}} (const Alloc \&alloc)
\item 
{\footnotesize template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ }\\\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a87e6a433df5df906859c09e19f71ff8a}{stack}} (const Container \&cont, const Alloc \&alloc)
\item 
{\footnotesize template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ }\\\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a564108f1ac4d72605ff6990870034c10}{stack}} (Container \&\&cont, const Alloc \&alloc)
\item 
{\footnotesize template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ }\\\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a5494415b29175155cdaac948aa05f6d5}{stack}} (const \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{stack}} \&cont, const Alloc \&alloc)
\item 
{\footnotesize template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ }\\\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a1a7749d10f571d23b2332b1c2cb5769b}{stack}} (\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{stack}} \&\&cont, const Alloc \&alloc)
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a6da1c083326c4bda70c2663989494736}{top}} () \&noexcept(noexcept(backing.\+back())) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_aa223ee7846a2da459dc4519f006d65f8}{reference}}
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a91a5e8423a4bb7b3fae56147a0c7d3e3}{top}} () const \&noexcept(noexcept(backing.\+back())) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ad0ca2c43780804f8aac9425ce2bb6bbb}{const\+\_\+reference}}
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a09de1b00d5577f81740ffbbeafcd5e2d}{empty}} () const noexcept -\/$>$ bool
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a140c11f561ebbc64c30fbc7322bdf6a8}{size}} () const noexcept -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a1c5fbc40f2500e5cdfbefda5bfa08298}{size\+\_\+type}}
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a3a3334861baf18779b85d57eb24d5153}{push}} (const \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a3ecb393363812b54f25b734580c72b98}{value\+\_\+type}} \&value) -\/$>$ decltype(auto)
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a18eabbf729fb2e1684be290d4d46c247}{push}} (\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a3ecb393363812b54f25b734580c72b98}{value\+\_\+type}} \&\&value) -\/$>$ decltype(auto)
\item 
{\footnotesize template$<$typename... Args$>$ }\\auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a3bba49a9117fdfee03608bd0a3a6c147}{emplace}} (Args \&\&... args) \&-\/$>$ decltype(auto)
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_af056948104f9742943641c3b4479a12c}{pop}} () noexcept(noexcept(backing.\+pop\+\_\+back())) -\/$>$ void
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a48c8a684d4d03f136a6feef4202455cf}{clear}} () noexcept(noexcept(backing.\+clear())) -\/$>$ void
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_abed7dd51f0a3ee71f1bc71c9e3623f5f}{swap}} (\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{stack}} \&other) noexcept(\mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1fakestd_1_1is__nothrow__swappable}{fakestd\+::is\+\_\+nothrow\+\_\+swappable}}$<$ Container $>$\+::value) -\/$>$ void
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_abdf519b2434f03cecfc046a8bc5afa09}{container}} () const \&-\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}} \&
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a393821920fdc05c09bac3b8c6f6808b3}{container}} () \&-\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}} \&
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a264aa8878559a1c13f3a844f66f1c4c7}{container}} () \&\&-\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename T, typename Container = std\+::vector$<$\+T$>$$>$\newline
class KBLIB\+\_\+\+NS\+::stack$<$ T, Container $>$}


Definition at line \mbox{\hyperlink{containers_8h_source_l00373}{373}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.



\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_ad0ca2c43780804f8aac9425ce2bb6bbb}\label{class_k_b_l_i_b___n_s_1_1stack_ad0ca2c43780804f8aac9425ce2bb6bbb}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!const\_reference@{const\_reference}}
\index{const\_reference@{const\_reference}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{const\_reference}{const\_reference}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::const\+\_\+reference =  typename Container\+::const\+\_\+reference}



Definition at line \mbox{\hyperlink{containers_8h_source_l00381}{381}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}\label{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!container\_type@{container\_type}}
\index{container\_type@{container\_type}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{container\_type}{container\_type}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::container\+\_\+type =  Container}



Definition at line \mbox{\hyperlink{containers_8h_source_l00377}{377}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_aa223ee7846a2da459dc4519f006d65f8}\label{class_k_b_l_i_b___n_s_1_1stack_aa223ee7846a2da459dc4519f006d65f8}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!reference@{reference}}
\index{reference@{reference}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{reference}{reference}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::reference =  typename Container\+::reference}



Definition at line \mbox{\hyperlink{containers_8h_source_l00380}{380}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a1c5fbc40f2500e5cdfbefda5bfa08298}\label{class_k_b_l_i_b___n_s_1_1stack_a1c5fbc40f2500e5cdfbefda5bfa08298}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!size\_type@{size\_type}}
\index{size\_type@{size\_type}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{size\_type}{size\_type}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::size\+\_\+type =  typename Container\+::size\+\_\+type}



Definition at line \mbox{\hyperlink{containers_8h_source_l00379}{379}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a3ecb393363812b54f25b734580c72b98}\label{class_k_b_l_i_b___n_s_1_1stack_a3ecb393363812b54f25b734580c72b98}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!value\_type@{value\_type}}
\index{value\_type@{value\_type}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{value\_type}{value\_type}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::value\+\_\+type =  typename Container\+::value\+\_\+type}



Definition at line \mbox{\hyperlink{containers_8h_source_l00378}{378}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a3c20235ec06e2243f22fbbf6b2ccbd36}\label{class_k_b_l_i_b___n_s_1_1stack_a3c20235ec06e2243f22fbbf6b2ccbd36}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!stack@{stack}}
\index{stack@{stack}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{stack()}{stack()}\hspace{0.1cm}{\footnotesize\ttfamily [1/7]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::stack (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00392}{392}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a569eea1831f98e15b3dfe351526bcb02}\label{class_k_b_l_i_b___n_s_1_1stack_a569eea1831f98e15b3dfe351526bcb02}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!stack@{stack}}
\index{stack@{stack}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{stack()}{stack()}\hspace{0.1cm}{\footnotesize\ttfamily [2/7]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::stack (\begin{DoxyParamCaption}\item[{const Container \&}]{cont }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00394}{394}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a04904202a5c2b8652b915eb588733665}\label{class_k_b_l_i_b___n_s_1_1stack_a04904202a5c2b8652b915eb588733665}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!stack@{stack}}
\index{stack@{stack}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{stack()}{stack()}\hspace{0.1cm}{\footnotesize\ttfamily [3/7]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::stack (\begin{DoxyParamCaption}\item[{const Alloc \&}]{alloc }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a87e6a433df5df906859c09e19f71ff8a}\label{class_k_b_l_i_b___n_s_1_1stack_a87e6a433df5df906859c09e19f71ff8a}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!stack@{stack}}
\index{stack@{stack}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{stack()}{stack()}\hspace{0.1cm}{\footnotesize\ttfamily [4/7]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::stack (\begin{DoxyParamCaption}\item[{const Container \&}]{cont,  }\item[{const Alloc \&}]{alloc }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a564108f1ac4d72605ff6990870034c10}\label{class_k_b_l_i_b___n_s_1_1stack_a564108f1ac4d72605ff6990870034c10}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!stack@{stack}}
\index{stack@{stack}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{stack()}{stack()}\hspace{0.1cm}{\footnotesize\ttfamily [5/7]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::stack (\begin{DoxyParamCaption}\item[{Container \&\&}]{cont,  }\item[{const Alloc \&}]{alloc }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a5494415b29175155cdaac948aa05f6d5}\label{class_k_b_l_i_b___n_s_1_1stack_a5494415b29175155cdaac948aa05f6d5}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!stack@{stack}}
\index{stack@{stack}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{stack()}{stack()}\hspace{0.1cm}{\footnotesize\ttfamily [6/7]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::stack (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{stack}}$<$ T, Container $>$ \&}]{cont,  }\item[{const Alloc \&}]{alloc }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a1a7749d10f571d23b2332b1c2cb5769b}\label{class_k_b_l_i_b___n_s_1_1stack_a1a7749d10f571d23b2332b1c2cb5769b}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!stack@{stack}}
\index{stack@{stack}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{stack()}{stack()}\hspace{0.1cm}{\footnotesize\ttfamily [7/7]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
template$<$typename Alloc , typename std\+::enable\+\_\+if$<$ std\+::uses\+\_\+allocator$<$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}, Alloc $>$\+::value, int $>$\+::type  = 0$>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::stack (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{stack}}$<$ T, Container $>$ \&\&}]{cont,  }\item[{const Alloc \&}]{alloc }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a48c8a684d4d03f136a6feef4202455cf}\label{class_k_b_l_i_b___n_s_1_1stack_a48c8a684d4d03f136a6feef4202455cf}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!clear@{clear}}
\index{clear@{clear}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::clear (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) -\/$>$ void \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00458}{458}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a264aa8878559a1c13f3a844f66f1c4c7}\label{class_k_b_l_i_b___n_s_1_1stack_a264aa8878559a1c13f3a844f66f1c4c7}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!container@{container}}
\index{container@{container}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{container()}{container()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::container (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) \&\& -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}} \hspace{0.3cm}{\ttfamily [inline]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00476}{476}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a393821920fdc05c09bac3b8c6f6808b3}\label{class_k_b_l_i_b___n_s_1_1stack_a393821920fdc05c09bac3b8c6f6808b3}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!container@{container}}
\index{container@{container}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{container()}{container()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::container (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) \& -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}\& \hspace{0.3cm}{\ttfamily [inline]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00474}{474}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_abdf519b2434f03cecfc046a8bc5afa09}\label{class_k_b_l_i_b___n_s_1_1stack_abdf519b2434f03cecfc046a8bc5afa09}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!container@{container}}
\index{container@{container}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{container()}{container()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::container (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const \& -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ae9a16d82414ec4598b252d0fac656d25}{container\+\_\+type}}\& \hspace{0.3cm}{\ttfamily [inline]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00473}{473}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a3bba49a9117fdfee03608bd0a3a6c147}\label{class_k_b_l_i_b___n_s_1_1stack_a3bba49a9117fdfee03608bd0a3a6c147}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!emplace@{emplace}}
\index{emplace@{emplace}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{emplace()}{emplace()}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
template$<$typename... Args$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::emplace (\begin{DoxyParamCaption}\item[{Args \&\&...}]{args }\end{DoxyParamCaption}) \& -\/$>$ decltype(auto) \hspace{0.3cm}{\ttfamily [inline]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00450}{450}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a09de1b00d5577f81740ffbbeafcd5e2d}\label{class_k_b_l_i_b___n_s_1_1stack_a09de1b00d5577f81740ffbbeafcd5e2d}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!empty@{empty}}
\index{empty@{empty}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{empty()}{empty()}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::empty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const -\/$>$ bool \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00435}{435}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_af056948104f9742943641c3b4479a12c}\label{class_k_b_l_i_b___n_s_1_1stack_af056948104f9742943641c3b4479a12c}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!pop@{pop}}
\index{pop@{pop}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{pop()}{pop()}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::pop (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) -\/$>$ void \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00454}{454}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a3a3334861baf18779b85d57eb24d5153}\label{class_k_b_l_i_b___n_s_1_1stack_a3a3334861baf18779b85d57eb24d5153}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!push@{push}}
\index{push@{push}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{push()}{push()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::push (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a3ecb393363812b54f25b734580c72b98}{value\+\_\+type}} \&}]{value }\end{DoxyParamCaption}) -\/$>$ decltype(auto) \hspace{0.3cm}{\ttfamily [inline]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00442}{442}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a18eabbf729fb2e1684be290d4d46c247}\label{class_k_b_l_i_b___n_s_1_1stack_a18eabbf729fb2e1684be290d4d46c247}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!push@{push}}
\index{push@{push}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{push()}{push()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::push (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a3ecb393363812b54f25b734580c72b98}{value\+\_\+type}} \&\&}]{value }\end{DoxyParamCaption}) -\/$>$ decltype(auto) \hspace{0.3cm}{\ttfamily [inline]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00445}{445}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a140c11f561ebbc64c30fbc7322bdf6a8}\label{class_k_b_l_i_b___n_s_1_1stack_a140c11f561ebbc64c30fbc7322bdf6a8}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!size@{size}}
\index{size@{size}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{size()}{size()}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_a1c5fbc40f2500e5cdfbefda5bfa08298}{size\+\_\+type}} \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00436}{436}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_abed7dd51f0a3ee71f1bc71c9e3623f5f}\label{class_k_b_l_i_b___n_s_1_1stack_abed7dd51f0a3ee71f1bc71c9e3623f5f}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!swap@{swap}}
\index{swap@{swap}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{swap()}{swap()}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::swap (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{stack}}$<$ T, Container $>$ \&}]{other }\end{DoxyParamCaption}) -\/$>$ void \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00463}{463}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a6da1c083326c4bda70c2663989494736}\label{class_k_b_l_i_b___n_s_1_1stack_a6da1c083326c4bda70c2663989494736}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!top@{top}}
\index{top@{top}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{top()}{top()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::top (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) \& -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_aa223ee7846a2da459dc4519f006d65f8}{reference}} \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00425}{425}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1stack_a91a5e8423a4bb7b3fae56147a0c7d3e3}\label{class_k_b_l_i_b___n_s_1_1stack_a91a5e8423a4bb7b3fae56147a0c7d3e3}} 
\index{KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}!top@{top}}
\index{top@{top}!KBLIB\_NS::stack$<$ T, Container $>$@{KBLIB\_NS::stack$<$ T, Container $>$}}
\doxysubsubsection{\texorpdfstring{top()}{top()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename T , typename Container  = std\+::vector$<$\+T$>$$>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack}{KBLIB\+\_\+\+NS\+::stack}}$<$ T, Container $>$\+::top (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const \& -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1stack_ad0ca2c43780804f8aac9425ce2bb6bbb}{const\+\_\+reference}} \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{containers_8h_source_l00428}{428}} of file \mbox{\hyperlink{containers_8h_source}{containers.\+h}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
kblib/\mbox{\hyperlink{containers_8h}{containers.\+h}}\end{DoxyCompactItemize}
