]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/strings/print_sequence.tpp
remove some unused stlplus modules
[chaz/yoink] / src / stlplus / strings / print_sequence.tpp
diff --git a/src/stlplus/strings/print_sequence.tpp b/src/stlplus/strings/print_sequence.tpp
deleted file mode 100644 (file)
index 8600ca8..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-
-//   Author:    Andy Rushton
-//   Copyright: (c) Southampton University 1999-2004
-//              (c) Andy Rushton           2004-2009
-//   License:   BSD License, see ../docs/license.html
-
-////////////////////////////////////////////////////////////////////////////////
-#include "print_pair.hpp"
-
-namespace stlplus
-{
-
-  ////////////////////////////////////////////////////////////////////////////////
-  // any forward iterator sequence
-
-  template <typename I, typename S>
-  void print_sequence(std::ostream& device,
-                      I begin, I end, 
-                      S print_fn,
-                      const std::string& separator)
-  {
-    for (I i = begin; i != end; i++)
-    {
-      if (i != begin) device << separator;
-      print_fn(device, *i);
-    }
-  }
-
-  ////////////////////////////////////////////////////////////////////////////////
-  // any sequence where the value is a pair
-
-  template <typename I, typename S1, typename S2>
-  void print_pair_sequence(std::ostream& device,
-                           I begin, I end,
-                           S1 print_fn1,
-                           S2 print_fn2,
-                           const std::string& pair_separator,
-                           const std::string& separator)
-  {
-    for (I i = begin; i != end; i++)
-    {
-      if (i != begin) device << separator;
-      print_pair(device, *i, print_fn1, print_fn2, pair_separator);
-    }
-  }
-
-  ////////////////////////////////////////////////////////////////////////////////
-
-} // end namespace stlplus
This page took 0.022923 seconds and 4 git commands to generate.