\hypertarget{a00410}{
\section{mln::util::site\_\-pair$<$ P $>$ Class Template Reference}
\label{d8/d91/a00410}\index{mln::util::site\_\-pair@{mln::util::site\_\-pair}}
}


A pair of sites.  




{\ttfamily \#include $<$site\_\-pair.hh$>$}



Inheritance diagram for mln::util::site\_\-pair$<$ P $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=253pt]{d9/d9f/a04013}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const P \& \hyperlink{a00410_a359fca3e3885bf67f35a7133cc7de28f}{first} () const 
\begin{DoxyCompactList}\small\item\em Return the first site. \item\end{DoxyCompactList}\item 
const \hyperlink{a00407}{util::ord\_\-pair}$<$ P $>$ \& \hyperlink{a00410_a496293b96fe994a15201d6e2c0851f15}{pair} () const 
\begin{DoxyCompactList}\small\item\em Return the underlying pair. \item\end{DoxyCompactList}\item 
const P \& \hyperlink{a00410_ac39c4692e75b31f766f51ea4d48c47fb}{second} () const 
\begin{DoxyCompactList}\small\item\em Return the second site. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename P$>$ class mln::util::site\_\-pair$<$ P $>$}

A pair of sites. It can be used as site. 

Definition at line 52 of file site\_\-pair.hh.



\subsection{Member Function Documentation}
\hypertarget{a00410_a359fca3e3885bf67f35a7133cc7de28f}{
\index{mln::util::site\_\-pair@{mln::util::site\_\-pair}!first@{first}}
\index{first@{first}!mln::util::site_pair@{mln::util::site\_\-pair}}
\subsubsection[{first}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ const P \& {\bf mln::util::site\_\-pair}$<$ P $>$::first (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d91/a00410_a359fca3e3885bf67f35a7133cc7de28f}


Return the first site. 



Definition at line 142 of file site\_\-pair.hh.

\hypertarget{a00410_a496293b96fe994a15201d6e2c0851f15}{
\index{mln::util::site\_\-pair@{mln::util::site\_\-pair}!pair@{pair}}
\index{pair@{pair}!mln::util::site_pair@{mln::util::site\_\-pair}}
\subsubsection[{pair}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ const {\bf util::ord\_\-pair}$<$ P $>$ \& {\bf mln::util::site\_\-pair}$<$ P $>$::pair (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d91/a00410_a496293b96fe994a15201d6e2c0851f15}


Return the underlying pair. 



Definition at line 158 of file site\_\-pair.hh.

\hypertarget{a00410_ac39c4692e75b31f766f51ea4d48c47fb}{
\index{mln::util::site\_\-pair@{mln::util::site\_\-pair}!second@{second}}
\index{second@{second}!mln::util::site_pair@{mln::util::site\_\-pair}}
\subsubsection[{second}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P $>$ const P \& {\bf mln::util::site\_\-pair}$<$ P $>$::second (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d91/a00410_ac39c4692e75b31f766f51ea4d48c47fb}


Return the second site. 



Definition at line 150 of file site\_\-pair.hh.

