+++ /dev/null
-////////////////////////////////////////////////////////////////////////////////
-
-// 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 T1, typename T2, typename T3, typename S1, typename S2, typename S3>
- std::string triple_to_string(const triple<T1,T2,T3>& values,
- S1 to_string_fn1,
- S2 to_string_fn2,
- S3 to_string_fn3,
- const std::string& separator)
- {
- return
- to_string_fn1(values.first) +
- separator +
- to_string_fn2(values.second) +
- separator +
- to_string_fn3(values.third);
- }
-
-} // end namespace stlplus
-