]> www.ginac.de Git - ginac.git/blobdiff - ginac/fail.h
- rotate_31() and golden_hash_ratio() moved to utils.h
[ginac.git] / ginac / fail.h
index 1ff994853049ce05e012e24919aaa864623a081d..7edc7b1bd842f972c1a2d3b3f739bec6c22cc010 100644 (file)
@@ -3,17 +3,33 @@
  *  Interface to class signaling failure of operation. Considered obsolete all
  *  this stuff ought to be replaced by exceptions. */
 
-#ifndef _FAIL_H_
-#define _FAIL_H_
+/*
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
-class fail;
+#ifndef __GINAC_FAIL_H__
+#define __GINAC_FAIL_H__
 
-#include "basic.h"
-#include "flags.h"
+#include <ginac/basic.h>
+
+namespace GiNaC {
 
 class fail : public basic
 {
-
 // member functions
 
     // default constructor, destructor, copy constructor assignment operator and helpers
@@ -53,6 +69,6 @@ protected:
 extern const fail some_fail;
 extern type_info const & typeid_fail;
 
-#endif // ndef _FAIL_H_
-
+} // namespace GiNaC
 
+#endif // ndef __GINAC_FAIL_H__