From: Guido Kanschat Date: Fri, 4 Sep 1998 11:50:06 +0000 (+0000) Subject: Description improved X-Git-Tag: v8.0.0~22697 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8f051fb7dae320960218d9592a88fc57efaff93;p=dealii.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 {