\hypertarget{a00392}{
\section{mln::util::couple$<$ T, U $>$ Class Template Reference}
\label{d4/d27/a00392}\index{mln::util::couple@{mln::util::couple}}
}


Definition of a couple.  




{\ttfamily \#include $<$couple.hh$>$}



Inheritance diagram for mln::util::couple$<$ T, U $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=259pt]{dc/d49/a03987}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00392_a350360ea7c59848aee01db664f957663}{change\_\-both} (const T \&first, const U \&second)
\begin{DoxyCompactList}\small\item\em Replace both members of the couple by {\itshape val\/}. \item\end{DoxyCompactList}\item 
void \hyperlink{a00392_aa6c8520da4bc59c9276345aad781fd62}{change\_\-first} (const T \&val)
\begin{DoxyCompactList}\small\item\em Replace the first member of the couple by {\itshape val\/}. \item\end{DoxyCompactList}\item 
void \hyperlink{a00392_a589e673da533e8f16b5ef3111f150e22}{change\_\-second} (const U \&val)
\begin{DoxyCompactList}\small\item\em Replace the second member of the couple by {\itshape val\/}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
const T \& \hyperlink{a00392_a19ec30eb0199bfdd09d0cd78a8893458}{first} () const 
\begin{DoxyCompactList}\small\item\em Get the first member of the couple. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
const U \& \hyperlink{a00392_a16cc92971b438cb6e9f83b53442c6dc7}{second} () const 
\begin{DoxyCompactList}\small\item\em Get the second member of the couple. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T, typename U$>$ class mln::util::couple$<$ T, U $>$}

Definition of a couple. 

Definition at line 48 of file util/couple.hh.



\subsection{Member Function Documentation}
\hypertarget{a00392_a350360ea7c59848aee01db664f957663}{
\index{mln::util::couple@{mln::util::couple}!change\_\-both@{change\_\-both}}
\index{change\_\-both@{change\_\-both}!mln::util::couple@{mln::util::couple}}
\subsubsection[{change\_\-both}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename U $>$ void {\bf mln::util::couple}$<$ T, U $>$::change\_\-both (
\begin{DoxyParamCaption}
\item[{const T \&}]{ first, }
\item[{const U \&}]{ second}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d27/a00392_a350360ea7c59848aee01db664f957663}


Replace both members of the couple by {\itshape val\/}. 



Definition at line 182 of file util/couple.hh.

\hypertarget{a00392_aa6c8520da4bc59c9276345aad781fd62}{
\index{mln::util::couple@{mln::util::couple}!change\_\-first@{change\_\-first}}
\index{change\_\-first@{change\_\-first}!mln::util::couple@{mln::util::couple}}
\subsubsection[{change\_\-first}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename U $>$ void {\bf mln::util::couple}$<$ T, U $>$::change\_\-first (
\begin{DoxyParamCaption}
\item[{const T \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d27/a00392_aa6c8520da4bc59c9276345aad781fd62}


Replace the first member of the couple by {\itshape val\/}. 



Definition at line 166 of file util/couple.hh.

\hypertarget{a00392_a589e673da533e8f16b5ef3111f150e22}{
\index{mln::util::couple@{mln::util::couple}!change\_\-second@{change\_\-second}}
\index{change\_\-second@{change\_\-second}!mln::util::couple@{mln::util::couple}}
\subsubsection[{change\_\-second}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename U $>$ void {\bf mln::util::couple}$<$ T, U $>$::change\_\-second (
\begin{DoxyParamCaption}
\item[{const U \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d27/a00392_a589e673da533e8f16b5ef3111f150e22}


Replace the second member of the couple by {\itshape val\/}. 



Definition at line 174 of file util/couple.hh.

\hypertarget{a00392_a19ec30eb0199bfdd09d0cd78a8893458}{
\index{mln::util::couple@{mln::util::couple}!first@{first}}
\index{first@{first}!mln::util::couple@{mln::util::couple}}
\subsubsection[{first}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename U $>$ const T \& {\bf mln::util::couple}$<$ T, U $>$::first (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d27/a00392_a19ec30eb0199bfdd09d0cd78a8893458}


Get the first member of the couple. 



Definition at line 134 of file util/couple.hh.

\hypertarget{a00392_a16cc92971b438cb6e9f83b53442c6dc7}{
\index{mln::util::couple@{mln::util::couple}!second@{second}}
\index{second@{second}!mln::util::couple@{mln::util::couple}}
\subsubsection[{second}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename U $>$ const U \& {\bf mln::util::couple}$<$ T, U $>$::second (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d27/a00392_a16cc92971b438cb6e9f83b53442c6dc7}


Get the second member of the couple. 



Definition at line 150 of file util/couple.hh.

