]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/portability/portability_exceptions.hpp
import stlplus 3.7
[chaz/yoink] / src / stlplus / portability / portability_exceptions.hpp
index e47e6a08902619748ecc398891137108938e1c93..15792240e54921a1cfc7bcad4d93abf96c49b36f 100644 (file)
@@ -1,33 +1,33 @@
-#ifndef STLPLUS_PORTABILITY_EXCEPTIONS
-#define STLPLUS_PORTABILITY_EXCEPTIONS
-////////////////////////////////////////////////////////////////////////////////
-
-//   Author:    Andy Rushton
-//   Copyright: (c) Southampton University 1999-2004
-//              (c) Andy Rushton           2004-2009
-//   License:   BSD License, see ../docs/license.html
-
-//   Adds missing arithmetic exceptions used in this library but missing from std
-
-////////////////////////////////////////////////////////////////////////////////
-#include "portability_fixes.hpp"
-#include <string>
-#include <stdexcept>
-
-namespace stlplus
-{
-
-  ////////////////////////////////////////////////////////////////////////////////
-  // thrown by division when the divisor is zero
-  // This is a subclass of std::logic_error so can be caught by a generic catch clause for the superclass
-
-  class divide_by_zero : public std::logic_error {
-  public:
-    divide_by_zero (const std::string& what_arg): std::logic_error (what_arg) { }
-  };
-
-////////////////////////////////////////////////////////////////////////////////
-
-} // end namespace stlplus
-
-#endif
+#ifndef STLPLUS_PORTABILITY_EXCEPTIONS\r
+#define STLPLUS_PORTABILITY_EXCEPTIONS\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+//   Author:    Andy Rushton\r
+//   Copyright: (c) Southampton University 1999-2004\r
+//              (c) Andy Rushton           2004 onwards\r
+//   License:   BSD License, see ../docs/license.html\r
+\r
+//   Adds missing arithmetic exceptions used in this library but missing from std\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+#include "portability_fixes.hpp"\r
+#include <string>\r
+#include <stdexcept>\r
+\r
+namespace stlplus\r
+{\r
+\r
+  ////////////////////////////////////////////////////////////////////////////////\r
+  // thrown by division when the divisor is zero\r
+  // This is a subclass of std::logic_error so can be caught by a generic catch clause for the superclass\r
+\r
+  class divide_by_zero : public std::logic_error {\r
+  public:\r
+    divide_by_zero (const std::string& what_arg): std::logic_error (what_arg) { }\r
+  };\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+} // end namespace stlplus\r
+\r
+#endif\r
This page took 0.021321 seconds and 4 git commands to generate.