]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_pair.hpp
build system enhancements
[chaz/yoink] / src / stlplus / strings / print_pair.hpp
1 #ifndef STLPLUS_PRINT_PAIR
2 #define STLPLUS_PRINT_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 #include <iostream>
17
18 namespace stlplus
19 {
20
21 template<typename V1, typename V2, typename S1, typename S2>
22 void print_pair(std::ostream& device,
23 const std::pair<V1,V2>& values,
24 S1 print_fn1,
25 S2 print_fn2,
26 const std::string& separator = ":");
27
28 } // end namespace stlplus
29
30 #include "print_pair.tpp"
31 #endif
This page took 0.029639 seconds and 4 git commands to generate.