]> www.ginac.de Git - ginac.git/blobdiff - ginac/constant.h
- put everything in "GiNaC" namespace
[ginac.git] / ginac / constant.h
index c5c90c035c3b5c97d357998b4c4c4d5436333a14..89cb7ebae83576c0d1e02cf0c33666e9ddbf30ab 100644 (file)
@@ -26,6 +26,8 @@
 #include <string>
 #include <ginac/basic.h>
 
 #include <string>
 #include <ginac/basic.h>
 
+namespace GiNaC {
+
 /** This class holds constants, symbols with specific numerical value. Each
  *  object of this class must either provide their own function to evaluate it
  *  to class numeric or provide the constant as a numeric (if it's an exact
 /** This class holds constants, symbols with specific numerical value. Each
  *  object of this class must either provide their own function to evaluate it
  *  to class numeric or provide the constant as a numeric (if it's an exact
@@ -88,4 +90,6 @@ extern const constant Pi;
 extern const constant Catalan;
 extern const constant EulerGamma;
 
 extern const constant Catalan;
 extern const constant EulerGamma;
 
+} // namespace GiNaC
+
 #endif // ndef __GINAC_CONSTANT_H__
 #endif // ndef __GINAC_CONSTANT_H__