\section{booster\+:\+:hold\+\_\+ptr$<$ T $>$ Class Template Reference}
\label{classbooster_1_1hold__ptr}\index{booster\+::hold\+\_\+ptr$<$ T $>$@{booster\+::hold\+\_\+ptr$<$ T $>$}}


a smart pointer similar to std\+::auto\+\_\+ptr but it is non-\/copyable and underlying object has same constness as the pointer itself (not like in ordinary pointer).  




{\ttfamily \#include $<$booster/booster/hold\+\_\+ptr.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries hold\+\_\+ptr} (T $\ast$v)\label{classbooster_1_1hold__ptr_a223d2975afbe9ee36d7bcb46b0660c69}

\item 
T const $\ast$ {\bfseries get} () const \label{classbooster_1_1hold__ptr_ae2a5b54ceae122b72137db9b81b1b2dc}

\item 
T $\ast$ {\bfseries get} ()\label{classbooster_1_1hold__ptr_a0f0082a308f41a3fbb338afdeb38a519}

\item 
T const \& {\bfseries operator$\ast$} () const \label{classbooster_1_1hold__ptr_aef20cf4835ebf609a207a8156577eb16}

\item 
T \& {\bfseries operator$\ast$} ()\label{classbooster_1_1hold__ptr_ae97eba0c251bca2d7c97cfef0227a239}

\item 
T const $\ast$ {\bfseries operator-\/$>$} () const \label{classbooster_1_1hold__ptr_af568396317ee56a949185191f482795f}

\item 
T $\ast$ {\bfseries operator-\/$>$} ()\label{classbooster_1_1hold__ptr_a16e6bf7b9f8c5291a6d7883da66bcfba}

\item 
T $\ast$ {\bfseries release} ()\label{classbooster_1_1hold__ptr_ab090193fe1ad4bdb440ad6823d1df442}

\item 
void {\bfseries reset} (T $\ast$p=0)\label{classbooster_1_1hold__ptr_a55dfbb766f1a142244ed3fa487e8c173}

\item 
void {\bfseries swap} ({\bf hold\+\_\+ptr} \&other)\label{classbooster_1_1hold__ptr_a06ab24950be2e9b632aaf84ffc7145e8}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$\\*
class booster\+::hold\+\_\+ptr$<$ T $>$}

a smart pointer similar to std\+::auto\+\_\+ptr but it is non-\/copyable and underlying object has same constness as the pointer itself (not like in ordinary pointer). 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
booster/hold\+\_\+ptr.\+h\end{DoxyCompactItemize}
