]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Description improved
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 4 Sep 1998 11:50:06 +0000 (11:50 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 4 Sep 1998 11:50:06 +0000 (11:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@560 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/smartpointer.h

index d05746712845c24f54a7c92a0d67a3613d5f58f9..5a63bd1cd4be8ab5497347c7fdf8a8573cc47665 100644 (file)
  *
  * #SmartPointer# does NOT implement any memory handling! Especially,
  * deleting a #SmartPointer# does not delete the object. Writing
- * <PRE>
+ * \begin{verbatim}
  * SmartPointer<T> t = new T;
- * </PRE>
+ * \end{verbatim}
  * is a sure way to program a memory leak! The secure version is
- * <PRE>
+ * \begin{verbatim}
  * T* p = new T;
  * {
  *   SmartPointer<T> t = p;
  *   ...
  * }
  * delete p;
- * </PRE> */
+ * \end{verbatim}
+ */
 template<class T>
 class SmartPointer
 {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.