\hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{}\doxysection{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F\texorpdfstring{$<$}{<} Container, F \texorpdfstring{$>$}{>} Class Template Reference}
\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}


An Output\+Iterator that transforms the values assigned to it before inserting them into the back of a container.  




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

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a702b17c71ac1ba8ce875ae0d4f6935d0}{value\+\_\+type}} = void
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_addbf0e1c46886a6ba25521f5afca2aff}{difference\+\_\+type}} = void
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a9bff0b94a0a796c1750fb20aa9143dd4}{pointer}} = void
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_ae148739dd30815264402e376e26bba81}{reference}} = void
\item 
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_aa44af45abe8a768fd73c0504543b81d5}{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_1back__insert__iterator___f_aee021fca0c3dd45f59a4410109d667bf}{back\+\_\+insert\+\_\+iterator\+\_\+F}} (Container \&c, F f)
\item 
{\footnotesize template$<$typename V $>$ }\\auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_ac0142231dacbf682c50271c324a1fe13}{operator=}} (V \&\&value) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{back\+\_\+insert\+\_\+iterator\+\_\+F}} \&
\begin{DoxyCompactList}\small\item\em Calls container.\+push\+\_\+back(kblib\+::invoke(fun, std\+::forward$<$\+V$>$(value)));. \end{DoxyCompactList}\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_acd21653d515e090fa488b8cbb5443c06}{operator$\ast$}} () -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{back\+\_\+insert\+\_\+iterator\+\_\+F}} \&
\begin{DoxyCompactList}\small\item\em A no-\/op. \end{DoxyCompactList}\item 
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a6beebeeb62606d5e69a16325e030d121}{operator++}} () -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{back\+\_\+insert\+\_\+iterator\+\_\+F}} \&
\begin{DoxyCompactList}\small\item\em A no-\/op. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename Container, typename F$>$\newline
class KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+\+F$<$ Container, F $>$}
An Output\+Iterator that transforms the values assigned to it before inserting them into the back of a container. 

\begin{DoxyAuthor}{Author}
From marttyfication\#4235 on the C++ Help discord. 
\end{DoxyAuthor}


Definition at line \mbox{\hyperlink{iterators_8h_source_l01500}{1500}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_addbf0e1c46886a6ba25521f5afca2aff}\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_addbf0e1c46886a6ba25521f5afca2aff}} 
\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}!difference\_type@{difference\_type}}
\index{difference\_type@{difference\_type}!KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}
\doxysubsubsection{\texorpdfstring{difference\_type}{difference\_type}}
{\footnotesize\ttfamily template$<$typename Container , typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F}}$<$ Container, F $>$\+::difference\+\_\+type =  void}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01513}{1513}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_aa44af45abe8a768fd73c0504543b81d5}\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_aa44af45abe8a768fd73c0504543b81d5}} 
\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}!iterator\_category@{iterator\_category}}
\index{iterator\_category@{iterator\_category}!KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}
\doxysubsubsection{\texorpdfstring{iterator\_category}{iterator\_category}}
{\footnotesize\ttfamily template$<$typename Container , typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F}}$<$ Container, F $>$\+::iterator\+\_\+category =  std\+::output\+\_\+iterator\+\_\+tag}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01516}{1516}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a9bff0b94a0a796c1750fb20aa9143dd4}\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a9bff0b94a0a796c1750fb20aa9143dd4}} 
\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}!pointer@{pointer}}
\index{pointer@{pointer}!KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}
\doxysubsubsection{\texorpdfstring{pointer}{pointer}}
{\footnotesize\ttfamily template$<$typename Container , typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F}}$<$ Container, F $>$\+::pointer =  void}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01514}{1514}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_ae148739dd30815264402e376e26bba81}\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_ae148739dd30815264402e376e26bba81}} 
\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}!reference@{reference}}
\index{reference@{reference}!KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}
\doxysubsubsection{\texorpdfstring{reference}{reference}}
{\footnotesize\ttfamily template$<$typename Container , typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F}}$<$ Container, F $>$\+::reference =  void}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01515}{1515}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a702b17c71ac1ba8ce875ae0d4f6935d0}\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a702b17c71ac1ba8ce875ae0d4f6935d0}} 
\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}!value\_type@{value\_type}}
\index{value\_type@{value\_type}!KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}
\doxysubsubsection{\texorpdfstring{value\_type}{value\_type}}
{\footnotesize\ttfamily template$<$typename Container , typename F $>$ \\
using \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F}}$<$ Container, F $>$\+::value\+\_\+type =  void}



Definition at line \mbox{\hyperlink{iterators_8h_source_l01512}{1512}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_aee021fca0c3dd45f59a4410109d667bf}\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_aee021fca0c3dd45f59a4410109d667bf}} 
\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}!back\_insert\_iterator\_F@{back\_insert\_iterator\_F}}
\index{back\_insert\_iterator\_F@{back\_insert\_iterator\_F}!KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}
\doxysubsubsection{\texorpdfstring{back\_insert\_iterator\_F()}{back\_insert\_iterator\_F()}}
{\footnotesize\ttfamily template$<$typename Container , typename F $>$ \\
\mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F}}$<$ Container, F $>$\+::back\+\_\+insert\+\_\+iterator\+\_\+F (\begin{DoxyParamCaption}\item[{Container \&}]{c,  }\item[{F}]{f }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}


\begin{DoxyParams}{Parameters}
{\em c} & The container to be inserted into. \\
\hline
{\em f} & The tranformation to apply to each argument. \\
\hline
\end{DoxyParams}


Definition at line \mbox{\hyperlink{iterators_8h_source_l01508}{1508}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.



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



A no-\/op. 



Definition at line \mbox{\hyperlink{iterators_8h_source_l01534}{1534}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a6beebeeb62606d5e69a16325e030d121}\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_a6beebeeb62606d5e69a16325e030d121}} 
\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}!operator++@{operator++}}
\index{operator++@{operator++}!KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}
\doxysubsubsection{\texorpdfstring{operator++()}{operator++()}}
{\footnotesize\ttfamily template$<$typename Container , typename F $>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F}}$<$ Container, F $>$\+::operator++ (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{back\+\_\+insert\+\_\+iterator\+\_\+F}}\& \hspace{0.3cm}{\ttfamily [inline]}}



A no-\/op. 



Definition at line \mbox{\hyperlink{iterators_8h_source_l01538}{1538}} of file \mbox{\hyperlink{iterators_8h_source}{iterators.\+h}}.

\mbox{\Hypertarget{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_ac0142231dacbf682c50271c324a1fe13}\label{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f_ac0142231dacbf682c50271c324a1fe13}} 
\index{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}!operator=@{operator=}}
\index{operator=@{operator=}!KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$@{KBLIB\_NS::back\_insert\_iterator\_F$<$ Container, F $>$}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily template$<$typename Container , typename F $>$ \\
template$<$typename V $>$ \\
auto \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{KBLIB\+\_\+\+NS\+::back\+\_\+insert\+\_\+iterator\+\_\+F}}$<$ Container, F $>$\+::operator= (\begin{DoxyParamCaption}\item[{V \&\&}]{value }\end{DoxyParamCaption}) -\/$>$ \mbox{\hyperlink{class_k_b_l_i_b___n_s_1_1back__insert__iterator___f}{back\+\_\+insert\+\_\+iterator\+\_\+F}}\& \hspace{0.3cm}{\ttfamily [inline]}}



Calls container.\+push\+\_\+back(kblib\+::invoke(fun, std\+::forward$<$\+V$>$(value)));. 


\begin{DoxyParams}{Parameters}
{\em value} & The value to transform and insert. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
back\+\_\+insert\+\_\+iterator\& $\ast$this. 
\end{DoxyReturn}


Definition at line \mbox{\hyperlink{iterators_8h_source_l01526}{1526}} 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}
