]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/string_pair.hpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / string_pair.hpp
1 #ifndef STLPLUS_STRING_PAIR
2 #define STLPLUS_STRING_PAIR
3 ////////////////////////////////////////////////////////////////////////////////
4
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
9
10 // Generate a string representation of a pair
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include <map>
15 #include <string>
16
17 namespace stlplus
18 {
19
20 template<typename V1, typename V2, typename S1, typename S2>
21 std::string pair_to_string(const std::pair<V1,V2>& values,
22 S1 to_string_fn1,
23 S2 to_string_fn2,
24 const std::string& separator = ":");
25
26 } // end namespace stlplus
27
28 #include "string_pair.tpp"
29 #endif
This page took 0.0312 seconds and 4 git commands to generate.