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 ////////////////////////////////////////////////////////////////////////////////
13 template<typename V1, typename V2, typename S1, typename S2>
14 std::string pair_to_string(const std::pair<V1,V2>& values,
17 const std::string& separator)
19 return to_string_fn1(values.first) + separator + to_string_fn2(values.second);
22 } // end namespace stlplus