Remove dynamic exceptions
[anna.git] / source / core / AutoPointer.cpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite                           //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9 #include <anna/core/AutoPointer.hpp>
10
11 using namespace std;
12 using namespace anna;
13
14 //virtual
15 String AutoPointer::asString() const
16 {
17   String result("AutoPointer { WhenFinished: ");
18   result += (a_whenFinished == WhenFinished::Ignore) ? "Ignore" : "Delete";
19   return result += " }";
20 }