//////////////////////////////////////////////////////////////////////////////// // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 // (c) Andy Rushton 2004-2009 // License: BSD License, see ../docs/license.html //////////////////////////////////////////////////////////////////////////////// namespace stlplus { template std::string pair_to_string(const std::pair& values, S1 to_string_fn1, S2 to_string_fn2, const std::string& separator) { return to_string_fn1(values.first) + separator + to_string_fn2(values.second); } } // end namespace stlplus