]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_triple.tpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / print_triple.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 T1, typename T2, typename T3, typename S1, typename S2, typename S3>
14 void print_triple(std::ostream& device,
15 const triple<T1,T2,T3>& values,
16 S1 print_fn1,
17 S2 print_fn2,
18 S3 print_fn3,
19 const std::string& separator)
20 {
21
22 print_fn1(device, values.first);
23 device << separator;
24 print_fn2(device, values.second);
25 device << separator;
26 print_fn3(device, values.third);
27 }
28
29 } // end namespace stlplus
30
This page took 0.031405 seconds and 4 git commands to generate.