1 ////////////////////////////////////////////////////////////////////////////////
3 // Author: Andy Rushton
4 // Copyright: (c) Southampton University 1999-2004
5 // (c) Andy Rushton 2004-2009
6 // License: BSD License, see ../docs/license.html
8 ////////////////////////////////////////////////////////////////////////////////
9 #include "string_sequence.hpp"
14 ////////////////////////////////////////////////////////////////////////////////
16 template<typename NT, typename AT, typename NS, typename AS>
17 std::string digraph_to_string(const digraph<NT,AT>& values,
20 const std::string& separator)
25 result += sequence_to_string(values.begin(), values.end(), node_to_string_fn, separator);
28 result += sequence_to_string(values.arc_begin(), values.arc_end(), arc_to_string_fn, separator);
32 } // end namespace stlplus