]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/containers/foursome.hpp
import stlplus 3.7
[chaz/yoink] / src / stlplus / containers / foursome.hpp
index 46dc46ddc5c6e00da2028bc26c6e3f94ced0c9e8..adae1466a11097748187d25f6bdd02e84363bd18 100644 (file)
@@ -1,59 +1,61 @@
-#ifndef STLPLUS_FOURSOME
-#define STLPLUS_FOURSOME
-////////////////////////////////////////////////////////////////////////////////
-
-//   Author:    Andy Rushton, from an original by Dan Milton
-//   Copyright: (c) Southampton University 1999-2004
-//              (c) Andy Rushton           2004-2009
-//   License:   BSD License, see ../docs/license.html
-
-//   The next in the series pair->triple->foursome
-
-//   Originally called quadruple but that clashed (as did quad) with system
-//   libraries on some operating systems
-
-////////////////////////////////////////////////////////////////////////////////
-#include "containers_fixes.hpp"
-
-namespace stlplus
-{
-
-  ////////////////////////////////////////////////////////////////////////////////
-  // the foursome class
-
-  template<typename T1, typename T2, typename T3, typename T4>
-  struct foursome
-  {
-    typedef T1 first_type;
-    typedef T2 second_type;
-    typedef T3 third_type;
-    typedef T4 fourth_type;
-
-    T1 first;
-    T2 second;
-    T3 third;
-    T4 fourth;
-
-    foursome(void);
-    foursome(const T1& p1, const T2& p2, const T3& p3, const T4& p4);
-    foursome(const foursome<T1,T2,T3,T4>& t2);
-  };
-
-  ////////////////////////////////////////////////////////////////////////////////
-  // creation
-
-  template<typename T1, typename T2, typename T3, typename T4>
-  foursome<T1,T2,T3,T4> make_foursome(const T1& first, const T2& second, const T3& third, const T4& fourth);
-
-  ////////////////////////////////////////////////////////////////////////////////
-  // comparison
-
-  template<typename T1, typename T2, typename T3, typename T4>
-  bool operator == (const foursome<T1,T2,T3,T4>& left, const foursome<T1,T2,T3,T4>& right);
-
-  ////////////////////////////////////////////////////////////////////////////////
-
-} // end namespace stlplus
-
-#include "foursome.tpp"
-#endif
+#ifndef STLPLUS_FOURSOME\r
+#define STLPLUS_FOURSOME\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+//   Author:    Andy Rushton, from an original by Dan Milton\r
+//   Copyright: (c) Southampton University 1999-2004\r
+//              (c) Andy Rushton           2004 onwards\r
+//   License:   BSD License, see ../docs/license.html\r
+\r
+//   The next in the series pair->triple->foursome\r
+\r
+//   Originally called quadruple but that clashed (as did quad) with system\r
+//   libraries on some operating systems\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+#include "containers_fixes.hpp"\r
+\r
+namespace stlplus\r
+{\r
+\r
+  ////////////////////////////////////////////////////////////////////////////////\r
+  // the foursome class\r
+\r
+  template<typename T1, typename T2, typename T3, typename T4>\r
+  struct foursome\r
+  {\r
+    typedef T1 first_type;\r
+    typedef T2 second_type;\r
+    typedef T3 third_type;\r
+    typedef T4 fourth_type;\r
+\r
+    T1 first;\r
+    T2 second;\r
+    T3 third;\r
+    T4 fourth;\r
+\r
+    foursome(void);\r
+    foursome(const T1& p1, const T2& p2, const T3& p3, const T4& p4);\r
+    foursome(const foursome<T1,T2,T3,T4>& t2);\r
+  };\r
+\r
+  ////////////////////////////////////////////////////////////////////////////////\r
+  // creation\r
+\r
+  template<typename T1, typename T2, typename T3, typename T4>\r
+  foursome<T1,T2,T3,T4> make_foursome(const T1& first, const T2& second, const T3& third, const T4& fourth);\r
+\r
+  ////////////////////////////////////////////////////////////////////////////////\r
+  // comparison\r
+\r
+  template<typename T1, typename T2, typename T3, typename T4>\r
+  bool operator == (const foursome<T1,T2,T3,T4>& left, const foursome<T1,T2,T3,T4>& right);\r
+  template<typename T1, typename T2, typename T3, typename T4>\r
+  bool operator < (const foursome<T1,T2,T3,T4>& left, const foursome<T1,T2,T3,T4>& right);\r
+\r
+  ////////////////////////////////////////////////////////////////////////////////\r
+\r
+} // end namespace stlplus\r
+\r
+#include "foursome.tpp"\r
+#endif\r
This page took 0.022276 seconds and 4 git commands to generate.