]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/strings/print_ntree.tpp
remove some unused stlplus modules
[chaz/yoink] / src / stlplus / strings / print_ntree.tpp
diff --git a/src/stlplus/strings/print_ntree.tpp b/src/stlplus/strings/print_ntree.tpp
deleted file mode 100644 (file)
index f78895a..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-
-//   Author:    Andy Rushton
-//   Copyright: (c) Southampton University 1999-2004
-//              (c) Andy Rushton           2004-2009
-//   License:   BSD License, see ../docs/license.html
-
-////////////////////////////////////////////////////////////////////////////////
-
-namespace stlplus
-{
-
-  template<typename T, typename S>
-  void print_ntree(std::ostream& device,
-                   const ntree<T>& values,
-                   S print_fn,
-                   const std::string& separator,
-                   const std::string& indent_string)
-  {
-    for (TYPENAME ntree<T>::const_prefix_iterator i = values.prefix_begin(); i != values.prefix_end(); i++)
-    {
-      if (i != values.prefix_begin()) device << separator;
-      for (unsigned indent = values.depth(i.simplify()); --indent; )
-        device << indent_string;
-      print_fn(device, *i);
-    }
-  }
-
-} // end namespace stlplus
-
This page took 0.01679 seconds and 4 git commands to generate.