\hypertarget{classAtt__Ptr__Cmp}{
\section{Att\_\-Ptr\_\-Cmp$<$ A $>$ Class Template Reference}
\label{classAtt__Ptr__Cmp}\index{Att\_\-Ptr\_\-Cmp@{Att\_\-Ptr\_\-Cmp}}
}


\hyperlink{classAtt__Ptr__Cmp}{Att\_\-Ptr\_\-Cmp} is needed because we want BGPAttributeManager to use a set of pointers, but when we check to see if something's in \hyperlink{protocolthe-p}{the} set, we want to compare \hyperlink{protocolthe-p}{the} data and not \hyperlink{protocolthe-p}{the} pointers themselves.  




{\ttfamily \#include $<$attribute\_\-manager.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classAtt__Ptr__Cmp_a0faa03066a55c560f79657fa13bcdd42}{
bool {\bfseries operator()} (const \hyperlink{classPAListRef}{PAListRef}$<$ A $>$ \&a, const \hyperlink{classPAListRef}{PAListRef}$<$ A $>$ \&b) const }
\label{classAtt__Ptr__Cmp_a0faa03066a55c560f79657fa13bcdd42}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class A$>$ class Att\_\-Ptr\_\-Cmp$<$ A $>$}

\hyperlink{classAtt__Ptr__Cmp}{Att\_\-Ptr\_\-Cmp} is needed because we want BGPAttributeManager to use a set of pointers, but when we check to see if something's in \hyperlink{protocolthe-p}{the} set, we want to compare \hyperlink{protocolthe-p}{the} data and not \hyperlink{protocolthe-p}{the} pointers themselves. This forces \hyperlink{protocolthe-p}{the} right comparison. 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/bgp/attribute\_\-manager.hh\end{DoxyCompactItemize}
