\hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator}{}\doxysection{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator\texorpdfstring{$<$}{<} F \texorpdfstring{$>$}{>} Class Template Reference}
\label{class_k_b_l_i_b___n_s_1_1consume__iterator}\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}


An Output\+Iterator that simply calls a provided functor for each value assigned to it.  




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

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_af8d29c3be85ed6a7e2b1afb74a053ca3}{value\+\_\+type}} = void
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_ab076d677b9fede22d721884ffff29077}{difference\+\_\+type}} = void
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_a68d9cf8cf35fa9b5a2bb488b32b5a916}{pointer}} = void
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_a0667ea5eeee0a59e8f82bf4a0a191bb0}{reference}} = void
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_a0b25b3334096e236279c5ae616edd407}{iterator\+\_\+category}} = std\+::output\+\_\+iterator\+\_\+tag
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_a10652333be716cf943b8aefa376c77bc}{consume\+\_\+iterator}} (F f)
\begin{DoxyCompactList}\small\item\em Constructs a \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} with the given function object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_a4e9f2e18cf5abc1894c1e49510572776}{consume\+\_\+iterator}} (const \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&)=default
\item 
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_ab5c3b4d94a73d9ad765681ca95eb71bb}{consume\+\_\+iterator}} (\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&\&)=default
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_a9c0464cb48dfa3897ae6ca733caf1d49}{operator=}} (const \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&) \&-\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&=default
\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_aee9890eed1338a987243c576476ed87b}{operator=}} (\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&\&) \&-\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&=default
\item 
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_addd59a423e8bf0d589fe40e3c69273b0}{$\sim$consume\+\_\+iterator}} ()=default
\item 
{\footnotesize template$<$typename V $>$ }\\auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_a3c19fbdf50991917bddb0c35d01f09ae}{operator=}} (V \&\&value) noexcept(noexcept(kblib\+::invoke(fun, std\+::forward$<$ V $>$(value)))) -\/$>$ kblib\+::ignore\+\_\+t$<$ decltype(kblib\+::invoke(fun, std\+::forward$<$ V $>$(value))), \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \& $>$
\begin{DoxyCompactList}\small\item\em Pass value to F. \end{DoxyCompactList}\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_afcea0f78730770fc5161caa4ba42b4a3}{operator$\ast$}} () -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&
\begin{DoxyCompactList}\small\item\em A no-\/op. \end{DoxyCompactList}\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_adf4a8b50660c9c0715d33611db1d1a84}{operator++}} () -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&
\begin{DoxyCompactList}\small\item\em A no-\/op. \end{DoxyCompactList}\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator_a10cd4c5ba0374bba9fcda5b866d0d34e}{operator++}} (int) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&
\begin{DoxyCompactList}\small\item\em A no-\/op. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename F$>$\newline
class KBLIB\+\_\+\+NS\+::consume\+\_\+iterator$<$ F $>$}
An Output\+Iterator that simply calls a provided functor for each value assigned to it. 

Definition at line \mbox{\hyperlink{iterators_8h_source_l01550}{1550}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_ab076d677b9fede22d721884ffff29077}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_ab076d677b9fede22d721884ffff29077}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!difference\_type@{difference\_type}}
\index{difference\_type@{difference\_type}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{difference\_type}{difference\_type}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::difference\+\_\+type =  void}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01556}{1556}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_a0b25b3334096e236279c5ae616edd407}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_a0b25b3334096e236279c5ae616edd407}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!iterator\_category@{iterator\_category}}
\index{iterator\_category@{iterator\_category}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{iterator\_category}{iterator\_category}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::iterator\+\_\+category =  std\+::output\+\_\+iterator\+\_\+tag}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01559}{1559}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_a68d9cf8cf35fa9b5a2bb488b32b5a916}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_a68d9cf8cf35fa9b5a2bb488b32b5a916}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!pointer@{pointer}}
\index{pointer@{pointer}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{pointer}{pointer}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::pointer =  void}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01557}{1557}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_a0667ea5eeee0a59e8f82bf4a0a191bb0}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_a0667ea5eeee0a59e8f82bf4a0a191bb0}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!reference@{reference}}
\index{reference@{reference}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{reference}{reference}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::reference =  void}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01558}{1558}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_af8d29c3be85ed6a7e2b1afb74a053ca3}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_af8d29c3be85ed6a7e2b1afb74a053ca3}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!value\_type@{value\_type}}
\index{value\_type@{value\_type}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{value\_type}{value\_type}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::value\+\_\+type =  void}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01555}{1555}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_a10652333be716cf943b8aefa376c77bc}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_a10652333be716cf943b8aefa376c77bc}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!consume\_iterator@{consume\_iterator}}
\index{consume\_iterator@{consume\_iterator}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{consume\_iterator()}{consume\_iterator()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::consume\+\_\+iterator (\begin{DoxyParamCaption}\item[{F}]{f }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Constructs a \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} with the given function object. 


\begin{DoxyParams}{Parameters}
{\em f} & The functor to pass values to. \\
\hline
\end{DoxyParams}


Definition at line \mbox{\hyperlink{iterators_8h_source_l01566}{1566}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_a4e9f2e18cf5abc1894c1e49510572776}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_a4e9f2e18cf5abc1894c1e49510572776}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!consume\_iterator@{consume\_iterator}}
\index{consume\_iterator@{consume\_iterator}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{consume\_iterator()}{consume\_iterator()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::consume\+\_\+iterator (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}$<$ F $>$ \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [default]}}

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_ab5c3b4d94a73d9ad765681ca95eb71bb}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_ab5c3b4d94a73d9ad765681ca95eb71bb}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!consume\_iterator@{consume\_iterator}}
\index{consume\_iterator@{consume\_iterator}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{consume\_iterator()}{consume\_iterator()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::consume\+\_\+iterator (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}$<$ F $>$ \&\&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [default]}}

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_addd59a423e8bf0d589fe40e3c69273b0}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_addd59a423e8bf0d589fe40e3c69273b0}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!````~consume\_iterator@{$\sim$consume\_iterator}}
\index{````~consume\_iterator@{$\sim$consume\_iterator}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{$\sim$consume\_iterator()}{~consume\_iterator()}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::$\sim$\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [default]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_afcea0f78730770fc5161caa4ba42b4a3}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_afcea0f78730770fc5161caa4ba42b4a3}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{operator$\ast$()}{operator*()}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::operator$\ast$ (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}\& \hspace{0.3cm}{\ttfamily [inline]}}



A no-\/op. 



Definition at line \mbox{\hyperlink{iterators_8h_source_l01593}{1593}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_adf4a8b50660c9c0715d33611db1d1a84}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_adf4a8b50660c9c0715d33611db1d1a84}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!operator++@{operator++}}
\index{operator++@{operator++}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{operator++()}{operator++()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::operator++ (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}\& \hspace{0.3cm}{\ttfamily [inline]}}



A no-\/op. 



Definition at line \mbox{\hyperlink{iterators_8h_source_l01597}{1597}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_a10cd4c5ba0374bba9fcda5b866d0d34e}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_a10cd4c5ba0374bba9fcda5b866d0d34e}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!operator++@{operator++}}
\index{operator++@{operator++}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{operator++()}{operator++()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::operator++ (\begin{DoxyParamCaption}\item[{int}]{ }\end{DoxyParamCaption}) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}\& \hspace{0.3cm}{\ttfamily [inline]}}



A no-\/op. 



Definition at line \mbox{\hyperlink{iterators_8h_source_l01601}{1601}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_a9c0464cb48dfa3897ae6ca733caf1d49}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_a9c0464cb48dfa3897ae6ca733caf1d49}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!operator=@{operator=}}
\index{operator=@{operator=}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}$<$ F $>$ \&}]{ }\end{DoxyParamCaption}) \& -\/$>$  \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&=default\hspace{0.3cm}{\ttfamily [default]}}

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_aee9890eed1338a987243c576476ed87b}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_aee9890eed1338a987243c576476ed87b}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!operator=@{operator=}}
\index{operator=@{operator=}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::operator= (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}$<$ F $>$ \&\&}]{ }\end{DoxyParamCaption}) \& -\/$>$  \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}} \&=default\hspace{0.3cm}{\ttfamily [default]}}

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1consume__iterator_a3c19fbdf50991917bddb0c35d01f09ae}\label{class_k_b_l_i_b___n_s_1_1consume__iterator_a3c19fbdf50991917bddb0c35d01f09ae}} 
\index{KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}!operator=@{operator=}}
\index{operator=@{operator=}!KBLIB\_NS::consume\_iterator$<$ F $>$@{KBLIB\_NS::consume\_iterator$<$ F $>$}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily template$<$typename F $>$ \\
template$<$typename V $>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{KBLIB\+\_\+\+NS\+::consume\+\_\+iterator}}$<$ F $>$\+::operator= (\begin{DoxyParamCaption}\item[{V \&\&}]{value }\end{DoxyParamCaption}) -\/$>$ kblib\+::ignore\+\_\+t$<$decltype(kblib\+::invoke(fun, std\+::forward$<$V$>$(value))),                         \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}\&$>$ \hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Pass value to F. 


\begin{DoxyParams}{Parameters}
{\em value} & The argument for the functor. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1consume__iterator}{consume\+\_\+iterator}}\& $\ast$this. 
\end{DoxyReturn}


Definition at line \mbox{\hyperlink{iterators_8h_source_l01582}{1582}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



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