\hypertarget{class_d_d4hep_1_1_apply2nd}{\section{D\-D4hep\-:\-:Apply2nd$<$ M, F\-C\-N $>$ Class Template Reference}
\label{class_d_d4hep_1_1_apply2nd}\index{D\-D4hep\-::\-Apply2nd$<$ M, F\-C\-N $>$@{D\-D4hep\-::\-Apply2nd$<$ M, F\-C\-N $>$}}
}


Generic map Functor to act on second element (mapped type)  




{\ttfamily \#include $<$Primitives.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_d_d4hep_1_1_apply2nd_a89cea532d07e73253a2dcb37587d3fd7}{Apply2nd} (const F\-C\-N \&f)
\item 
void \hyperlink{class_d_d4hep_1_1_apply2nd_a5ef70adf6c269db5d6a3f8860d388496}{operator()} (std\-::pair$<$ typename M\-::key\-\_\-type const, typename M\-::mapped\-\_\-type $>$ \&p) const 
\item 
void \hyperlink{class_d_d4hep_1_1_apply2nd_a87f622f0998bea962d6cf24afc9c52dc}{operator()} (const std\-::pair$<$ typename M\-::key\-\_\-type const, typename M\-::mapped\-\_\-type $>$ \&p) const 
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
const F\-C\-N \& \hyperlink{class_d_d4hep_1_1_apply2nd_aa83e5fb456b913dfe4801fb585b073e0}{func}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename M, typename F\-C\-N$>$class D\-D4hep\-::\-Apply2nd$<$ M, F\-C\-N $>$}

Generic map Functor to act on second element (mapped type) 

Definition at line 489 of file Primitives.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_d_d4hep_1_1_apply2nd_a89cea532d07e73253a2dcb37587d3fd7}{\index{D\-D4hep\-::\-Apply2nd@{D\-D4hep\-::\-Apply2nd}!Apply2nd@{Apply2nd}}
\index{Apply2nd@{Apply2nd}!DD4hep::Apply2nd@{D\-D4hep\-::\-Apply2nd}}
\subsubsection[{Apply2nd}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename M , typename F\-C\-N $>$ {\bf D\-D4hep\-::\-Apply2nd}$<$ M, F\-C\-N $>$\-::{\bf Apply2nd} (
\begin{DoxyParamCaption}
\item[{const F\-C\-N \&}]{f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_d_d4hep_1_1_apply2nd_a89cea532d07e73253a2dcb37587d3fd7}


Definition at line 492 of file Primitives.\-h.



\subsection{Member Function Documentation}
\hypertarget{class_d_d4hep_1_1_apply2nd_a5ef70adf6c269db5d6a3f8860d388496}{\index{D\-D4hep\-::\-Apply2nd@{D\-D4hep\-::\-Apply2nd}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Apply2nd@{D\-D4hep\-::\-Apply2nd}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename M , typename F\-C\-N $>$ void {\bf D\-D4hep\-::\-Apply2nd}$<$ M, F\-C\-N $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{std\-::pair$<$ typename M\-::key\-\_\-type const, typename M\-::mapped\-\_\-type $>$ \&}]{p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_d_d4hep_1_1_apply2nd_a5ef70adf6c269db5d6a3f8860d388496}


Definition at line 493 of file Primitives.\-h.



References D\-D4hep\-::\-Apply2nd$<$ M, F\-C\-N $>$\-::func.

\hypertarget{class_d_d4hep_1_1_apply2nd_a87f622f0998bea962d6cf24afc9c52dc}{\index{D\-D4hep\-::\-Apply2nd@{D\-D4hep\-::\-Apply2nd}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Apply2nd@{D\-D4hep\-::\-Apply2nd}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename M , typename F\-C\-N $>$ void {\bf D\-D4hep\-::\-Apply2nd}$<$ M, F\-C\-N $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const std\-::pair$<$ typename M\-::key\-\_\-type const, typename M\-::mapped\-\_\-type $>$ \&}]{p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_d_d4hep_1_1_apply2nd_a87f622f0998bea962d6cf24afc9c52dc}


Definition at line 495 of file Primitives.\-h.



References D\-D4hep\-::\-Apply2nd$<$ M, F\-C\-N $>$\-::func.



\subsection{Member Data Documentation}
\hypertarget{class_d_d4hep_1_1_apply2nd_aa83e5fb456b913dfe4801fb585b073e0}{\index{D\-D4hep\-::\-Apply2nd@{D\-D4hep\-::\-Apply2nd}!func@{func}}
\index{func@{func}!DD4hep::Apply2nd@{D\-D4hep\-::\-Apply2nd}}
\subsubsection[{func}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename M , typename F\-C\-N $>$ const F\-C\-N\& {\bf D\-D4hep\-::\-Apply2nd}$<$ M, F\-C\-N $>$\-::func}}\label{class_d_d4hep_1_1_apply2nd_aa83e5fb456b913dfe4801fb585b073e0}


Definition at line 491 of file Primitives.\-h.



Referenced by D\-D4hep\-::\-Apply2nd$<$ M, F\-C\-N $>$\-::operator()().



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\hyperlink{_primitives_8h}{Primitives.\-h}\end{DoxyCompactItemize}
