From d8f051fb7dae320960218d9592a88fc57efaff93 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Fri, 4 Sep 1998 11:50:06 +0000 Subject: [PATCH] Description improved git-svn-id: https://svn.dealii.org/trunk@560 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/smartpointer.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 { -- 2.39.5