]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_triple.hpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / print_triple.hpp
1 #ifndef STLPLUS_PRINT_TRIPLE
2 #define STLPLUS_PRINT_TRIPLE
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 triple
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include "triple.hpp"
15 #include <string>
16 #include <iostream>
17
18 ////////////////////////////////////////////////////////////////////////////////
19
20 namespace stlplus
21 {
22
23 template<typename T1, typename T2, typename T3, typename S1, typename S2, typename S3>
24 void print_triple(std::ostream& device,
25 const triple<T1,T2,T3>& values,
26 S1 print_fn1,
27 S2 print_fn2,
28 S3 print_fn3,
29 const std::string& separator = ":");
30
31 } // end namespace stlplus
32
33 #include "print_triple.tpp"
34 #endif
This page took 0.035461 seconds and 4 git commands to generate.