]> www.ginac.de Git - ginac.git/blobdiff - ginac/fail.h
- put everything in "GiNaC" namespace
[ginac.git] / ginac / fail.h
index 40897e2e74417d601ba559453e1152eb1802e718..7edc7b1bd842f972c1a2d3b3f739bec6c22cc010 100644 (file)
@@ -1,8 +1,9 @@
 /** @file fail.h
  *
  *  Interface to class signaling failure of operation. Considered obsolete all
- *  this stuff ought to be replaced by exceptions.
- *
+ *  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
@@ -25,6 +26,8 @@
 
 #include <ginac/basic.h>
 
+namespace GiNaC {
+
 class fail : public basic
 {
 // member functions
@@ -66,6 +69,6 @@ protected:
 extern const fail some_fail;
 extern type_info const & typeid_fail;
 
-#endif // ndef __GINAC_FAIL_H__
-
+} // namespace GiNaC
 
+#endif // ndef __GINAC_FAIL_H__