]> www.ginac.de Git - ginac.git/blobdiff - ginac/fail.cpp
- put everything in "GiNaC" namespace
[ginac.git] / ginac / fail.cpp
index b97d0c4edfc89360793b03918ae56a0110bb4154..e5800a388c629a669841427bae8c9ac37fa5ce1a 100644 (file)
@@ -1,8 +1,9 @@
 /** @file fail.cpp
  *
  *  Implementation of class signaling failure of operation. Considered
 /** @file fail.cpp
  *
  *  Implementation of class signaling failure of operation. Considered
- *  obsolete all this stuff ought to be replaced by exceptions.
- *
+ *  obsolete all this stuff ought to be replaced by exceptions. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -21,6 +22,9 @@
  */
 
 #include "fail.h"
  */
 
 #include "fail.h"
+#include "debugmsg.h"
+
+namespace GiNaC {
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -119,3 +123,4 @@ int fail::compare_same_type(basic const & other) const
 const fail some_fail;
 type_info const & typeid_fail=typeid(some_fail);
 
 const fail some_fail;
 type_info const & typeid_fail=typeid(some_fail);
 
+} // namespace GiNaC