\section{Delete\+Visitor Class Reference}
\label{classmlpack_1_1ann_1_1DeleteVisitor}\index{Delete\+Visitor@{Delete\+Visitor}}


\doxyref{Delete\+Visitor}{p.}{classmlpack_1_1ann_1_1DeleteVisitor} executes the destructor of the instantiated object.  




Inheritance diagram for Delete\+Visitor\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=152pt]{classmlpack_1_1ann_1_1DeleteVisitor__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Layer\+Type $>$ }\\std\+::enable\+\_\+if$<$ !Has\+Model\+Check$<$ Layer\+Type $>$\+::value, void $>$\+::type \textbf{ operator()} (Layer\+Type $\ast$layer) const
\begin{DoxyCompactList}\small\item\em Execute the destructor if the layer does not hold layers internally. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Layer\+Type $>$ }\\std\+::enable\+\_\+if$<$ Has\+Model\+Check$<$ Layer\+Type $>$\+::value, void $>$\+::type \textbf{ operator()} (Layer\+Type $\ast$layer) const
\begin{DoxyCompactList}\small\item\em Execute the destructor if the layer does hold layers internally. \end{DoxyCompactList}\item 
void \textbf{ operator()} (\textbf{ More\+Types} layer) const
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\doxyref{Delete\+Visitor}{p.}{classmlpack_1_1ann_1_1DeleteVisitor} executes the destructor of the instantiated object. 

Definition at line 27 of file delete\+\_\+visitor.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1ann_1_1DeleteVisitor_a1fc948e7a9b2e09d5306da2d63dac0e3}} 
\index{mlpack\+::ann\+::\+Delete\+Visitor@{mlpack\+::ann\+::\+Delete\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Delete\+Visitor@{mlpack\+::ann\+::\+Delete\+Visitor}}
\subsubsection{operator()()\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily std\+::enable\+\_\+if$<$ !Has\+Model\+Check$<$Layer\+Type$>$\+::value, void$>$\+::type operator() (\begin{DoxyParamCaption}\item[{Layer\+Type $\ast$}]{layer }\end{DoxyParamCaption}) const}



Execute the destructor if the layer does not hold layers internally. 

\mbox{\label{classmlpack_1_1ann_1_1DeleteVisitor_ae33b833469f1197e57ff4abf3541f8fb}} 
\index{mlpack\+::ann\+::\+Delete\+Visitor@{mlpack\+::ann\+::\+Delete\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Delete\+Visitor@{mlpack\+::ann\+::\+Delete\+Visitor}}
\subsubsection{operator()()\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily std\+::enable\+\_\+if$<$ Has\+Model\+Check$<$Layer\+Type$>$\+::value, void$>$\+::type operator() (\begin{DoxyParamCaption}\item[{Layer\+Type $\ast$}]{layer }\end{DoxyParamCaption}) const}



Execute the destructor if the layer does hold layers internally. 

\mbox{\label{classmlpack_1_1ann_1_1DeleteVisitor_ae35578e7ff874a320fe762bc0edfff04}} 
\index{mlpack\+::ann\+::\+Delete\+Visitor@{mlpack\+::ann\+::\+Delete\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Delete\+Visitor@{mlpack\+::ann\+::\+Delete\+Visitor}}
\subsubsection{operator()()\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void operator() (\begin{DoxyParamCaption}\item[{\textbf{ More\+Types}}]{layer }\end{DoxyParamCaption}) const}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+2/src/mlpack/methods/ann/visitor/\textbf{ delete\+\_\+visitor.\+hpp}\end{DoxyCompactItemize}
