]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_pair.tpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / strings / print_pair.tpp
1 ////////////////////////////////////////////////////////////////////////////////
2
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
7
8 ////////////////////////////////////////////////////////////////////////////////
9
10 namespace stlplus
11 {
12
13 template<typename V1, typename V2, typename S1, typename S2>
14 void print_pair(std::ostream& device,
15 const std::pair<V1,V2>& values,
16 S1 print_fn1,
17 S2 print_fn2,
18 const std::string& separator)
19 {
20 print_fn1(device, values.first);
21 device << separator;
22 print__fn2(device, values.second);
23 }
24
25 } // end namespace stlplus
This page took 0.031103 seconds and 4 git commands to generate.