]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_foursome.tpp
build system enhancements
[chaz/yoink] / src / stlplus / strings / print_foursome.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 T4, typename S1, typename S2, typename S3, typename S4>
14 void print_foursome(std::ostream& device,
15 const foursome<T1,T2,T3,T4>& values,
16 S1 print_fn1,
17 S2 print_fn2,
18 S3 print_fn3,
19 S4 print_fn4,
20 const std::string& separator)
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 device << separator;
28 print_fn4(device, values.fourth);
29 }
30
31
32 } // end namespace stlplus
33
This page took 0.033481 seconds and 4 git commands to generate.