\hypertarget{struct_k_b_l_i_b___n_s_1_1incrementer}{}\doxysection{KBLIB\+\_\+\+NS\+::incrementer Struct Reference}
\label{struct_k_b_l_i_b___n_s_1_1incrementer}\index{KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}}


A struct which increments anything it is added to. Suitable for use as a Delta type for \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1range__t}{range\+\_\+t}}.  




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

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
constexpr \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1incrementer_a5c33df33e12cad75f1fa1272aaf26c99}{incrementer}} () noexcept=default
\item 
constexpr \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1incrementer_ad3540097a9bbc8d3b3ad536360fb5df5}{incrementer}} (int) noexcept
\item 
constexpr \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1incrementer_afde704ab220bc6ef8eb1032f5833de7a}{operator int}} () const noexcept
\item 
{\footnotesize template$<$typename T $>$ }\\constexpr auto \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1incrementer_a3cc0c230cccd7a2b398e4ac827bb89d8}{operator()}} (T \&t) -\/$>$ T \&
\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
constexpr auto \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1incrementer_ac5650dea10eb78921b499895d9e352c1}{operator$\ast$}} (std\+::ptrdiff\+\_\+t x, \mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1incrementer}{incrementer}})
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A struct which increments anything it is added to. Suitable for use as a Delta type for \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1range__t}{range\+\_\+t}}. 

Definition at line \mbox{\hyperlink{iterators_8h_source_l00563}{563}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1incrementer_a5c33df33e12cad75f1fa1272aaf26c99}\label{struct_k_b_l_i_b___n_s_1_1incrementer_a5c33df33e12cad75f1fa1272aaf26c99}} 
\index{KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}!incrementer@{incrementer}}
\index{incrementer@{incrementer}!KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}}
\doxysubsubsection{\texorpdfstring{incrementer()}{incrementer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily constexpr KBLIB\+\_\+\+NS\+::incrementer\+::incrementer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [constexpr]}, {\ttfamily [default]}, {\ttfamily [noexcept]}}

\mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1incrementer_ad3540097a9bbc8d3b3ad536360fb5df5}\label{struct_k_b_l_i_b___n_s_1_1incrementer_ad3540097a9bbc8d3b3ad536360fb5df5}} 
\index{KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}!incrementer@{incrementer}}
\index{incrementer@{incrementer}!KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}}
\doxysubsubsection{\texorpdfstring{incrementer()}{incrementer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily constexpr KBLIB\+\_\+\+NS\+::incrementer\+::incrementer (\begin{DoxyParamCaption}\item[{int}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [constexpr]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{iterators_8h_source_l00565}{565}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1incrementer_afde704ab220bc6ef8eb1032f5833de7a}\label{struct_k_b_l_i_b___n_s_1_1incrementer_afde704ab220bc6ef8eb1032f5833de7a}} 
\index{KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}!operator int@{operator int}}
\index{operator int@{operator int}!KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}}
\doxysubsubsection{\texorpdfstring{operator int()}{operator int()}}
{\footnotesize\ttfamily constexpr KBLIB\+\_\+\+NS\+::incrementer\+::operator int (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [constexpr]}, {\ttfamily [noexcept]}}



Definition at line \mbox{\hyperlink{iterators_8h_source_l00566}{566}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1incrementer_a3cc0c230cccd7a2b398e4ac827bb89d8}\label{struct_k_b_l_i_b___n_s_1_1incrementer_a3cc0c230cccd7a2b398e4ac827bb89d8}} 
\index{KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}!operator()@{operator()}}
\index{operator()@{operator()}!KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
constexpr auto KBLIB\+\_\+\+NS\+::incrementer\+::operator() (\begin{DoxyParamCaption}\item[{T \&}]{t }\end{DoxyParamCaption}) -\/$>$ T\& \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [constexpr]}}



Definition at line \mbox{\hyperlink{iterators_8h_source_l00572}{572}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



\doxysubsection{Friends And Related Function Documentation}
\mbox{\Hypertarget{struct_k_b_l_i_b___n_s_1_1incrementer_ac5650dea10eb78921b499895d9e352c1}\label{struct_k_b_l_i_b___n_s_1_1incrementer_ac5650dea10eb78921b499895d9e352c1}} 
\index{KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!KBLIB\_NS::incrementer@{KBLIB\_NS::incrementer}}
\doxysubsubsection{\texorpdfstring{operator$\ast$}{operator*}}
{\footnotesize\ttfamily constexpr auto operator$\ast$ (\begin{DoxyParamCaption}\item[{std\+::ptrdiff\+\_\+t}]{x,  }\item[{\mbox{\hyperlink{struct_k_b_l_i_b___n_s_1_1incrementer}{incrementer}}}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}



Definition at line \mbox{\hyperlink{iterators_8h_source_l00567}{567}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



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