\hypertarget{structkblib_1_1incrementer}{}\doxysection{kblib\+::incrementer Struct Reference}
\label{structkblib_1_1incrementer}\index{kblib::incrementer@{kblib::incrementer}}


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




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

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
constexpr \mbox{\hyperlink{structkblib_1_1incrementer_a6e22ffadc3504ed1c26f719c37dee0da}{incrementer}} () noexcept=default
\item 
constexpr \mbox{\hyperlink{structkblib_1_1incrementer_a830bff4684dd37096b898cb4bc721dd4}{incrementer}} (int) noexcept
\item 
constexpr \mbox{\hyperlink{structkblib_1_1incrementer_a89cc6962471129551334b307f1e5c9e1}{operator int}} () const noexcept
\item 
{\footnotesize template$<$typename T $>$ }\\constexpr auto \mbox{\hyperlink{structkblib_1_1incrementer_aaa867d341b158ed46a8bdc6b525fe159}{operator()}} (T \&t) -\/$>$ T \&
\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
constexpr auto \mbox{\hyperlink{structkblib_1_1incrementer_ac5650dea10eb78921b499895d9e352c1}{operator$\ast$}} (std\+::ptrdiff\+\_\+t x, \mbox{\hyperlink{structkblib_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{classkblib_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{structkblib_1_1incrementer_a6e22ffadc3504ed1c26f719c37dee0da}\label{structkblib_1_1incrementer_a6e22ffadc3504ed1c26f719c37dee0da}} 
\index{kblib::incrementer@{kblib::incrementer}!incrementer@{incrementer}}
\index{incrementer@{incrementer}!kblib::incrementer@{kblib::incrementer}}
\doxysubsubsection{\texorpdfstring{incrementer()}{incrementer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily constexpr kblib\+::incrementer\+::incrementer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [constexpr]}, {\ttfamily [default]}, {\ttfamily [noexcept]}}

\mbox{\Hypertarget{structkblib_1_1incrementer_a830bff4684dd37096b898cb4bc721dd4}\label{structkblib_1_1incrementer_a830bff4684dd37096b898cb4bc721dd4}} 
\index{kblib::incrementer@{kblib::incrementer}!incrementer@{incrementer}}
\index{incrementer@{incrementer}!kblib::incrementer@{kblib::incrementer}}
\doxysubsubsection{\texorpdfstring{incrementer()}{incrementer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily constexpr kblib\+::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{structkblib_1_1incrementer_a89cc6962471129551334b307f1e5c9e1}\label{structkblib_1_1incrementer_a89cc6962471129551334b307f1e5c9e1}} 
\index{kblib::incrementer@{kblib::incrementer}!operator int@{operator int}}
\index{operator int@{operator int}!kblib::incrementer@{kblib::incrementer}}
\doxysubsubsection{\texorpdfstring{operator int()}{operator int()}}
{\footnotesize\ttfamily constexpr kblib\+::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{structkblib_1_1incrementer_aaa867d341b158ed46a8bdc6b525fe159}\label{structkblib_1_1incrementer_aaa867d341b158ed46a8bdc6b525fe159}} 
\index{kblib::incrementer@{kblib::incrementer}!operator()@{operator()}}
\index{operator()@{operator()}!kblib::incrementer@{kblib::incrementer}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
constexpr auto kblib\+::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{structkblib_1_1incrementer_ac5650dea10eb78921b499895d9e352c1}\label{structkblib_1_1incrementer_ac5650dea10eb78921b499895d9e352c1}} 
\index{kblib::incrementer@{kblib::incrementer}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!kblib::incrementer@{kblib::incrementer}}
\doxysubsubsection{\texorpdfstring{operator$\ast$}{operator*}}
{\footnotesize\ttfamily constexpr auto operator$\ast$ (\begin{DoxyParamCaption}\item[{std\+::ptrdiff\+\_\+t}]{x,  }\item[{\mbox{\hyperlink{structkblib_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}
