]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/strings/string_address.cpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / string_address.cpp
index 74315e0460cef15f86fba575feb5ccde44efdf20..1ab934be83cf0ad9ec2e175ca678491aff2ecd02 100644 (file)
@@ -1,36 +1,36 @@
-////////////////////////////////////////////////////////////////////////////////\r
-\r
-//   Author:    Andy Rushton\r
-//   Copyright: (c) Southampton University 1999-2004\r
-//              (c) Andy Rushton           2004-2009\r
-//   License:   BSD License, see ../docs/license.html\r
-\r
-//   use the unsigned long representation for pointers\r
-\r
-////////////////////////////////////////////////////////////////////////////////\r
-#include "string_address.hpp"\r
-#include "string_int.hpp"\r
-////////////////////////////////////////////////////////////////////////////////\r
-\r
-namespace stlplus\r
-{\r
-\r
-  ////////////////////////////////////////////////////////////////////////////////\r
-\r
-  std::string address_to_string(const void* i, unsigned radix, radix_display_t display, unsigned width)\r
-    throw(std::invalid_argument)\r
-  {\r
-    return unsigned_long_to_string((unsigned long)i, radix, display, width);\r
-  }\r
-\r
-  ////////////////////////////////////////////////////////////////////////////////\r
-\r
-  void* string_to_address(const std::string& str, unsigned radix)\r
-    throw(std::invalid_argument)\r
-  {\r
-    return (void*)string_to_unsigned_long(str, radix);\r
-  }\r
-\r
-  ////////////////////////////////////////////////////////////////////////////////\r
-\r
-} // end namespace stlplus\r
+////////////////////////////////////////////////////////////////////////////////
+
+//   Author:    Andy Rushton
+//   Copyright: (c) Southampton University 1999-2004
+//              (c) Andy Rushton           2004-2009
+//   License:   BSD License, see ../docs/license.html
+
+//   use the unsigned long representation for pointers
+
+////////////////////////////////////////////////////////////////////////////////
+#include "string_address.hpp"
+#include "string_int.hpp"
+////////////////////////////////////////////////////////////////////////////////
+
+namespace stlplus
+{
+
+  ////////////////////////////////////////////////////////////////////////////////
+
+  std::string address_to_string(const void* i, unsigned radix, radix_display_t display, unsigned width)
+    throw(std::invalid_argument)
+  {
+    return unsigned_long_to_string((unsigned long)i, radix, display, width);
+  }
+
+  ////////////////////////////////////////////////////////////////////////////////
+
+  void* string_to_address(const std::string& str, unsigned radix)
+    throw(std::invalid_argument)
+  {
+    return (void*)string_to_unsigned_long(str, radix);
+  }
+
+  ////////////////////////////////////////////////////////////////////////////////
+
+} // end namespace stlplus
This page took 0.022634 seconds and 4 git commands to generate.