From: guido Date: Fri, 4 Sep 1998 11:50:06 +0000 (+0000) Subject: Description improved X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68d2672ec1bdd5f4cdad1fc6240237ca366ce238;p=dealii-svn.git Description improved git-svn-id: https://svn.dealii.org/trunk@560 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/smartpointer.h b/deal.II/base/include/base/smartpointer.h index d057467128..5a63bd1cd4 100644 --- a/deal.II/base/include/base/smartpointer.h +++ b/deal.II/base/include/base/smartpointer.h @@ -20,18 +20,19 @@ * * #SmartPointer# does NOT implement any memory handling! Especially, * deleting a #SmartPointer# does not delete the object. Writing - *
+ * \begin{verbatim}
  * SmartPointer t = new T;
- * 
+ * \end{verbatim} * is a sure way to program a memory leak! The secure version is - *
+ * \begin{verbatim}
  * T* p = new T;
  * {
  *   SmartPointer t = p;
  *   ...
  * }
  * delete p;
- * 
*/ + * \end{verbatim} + */ template class SmartPointer {