]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_set.hpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / print_set.hpp
1 #ifndef STLPLUS_PRINT_SET
2 #define STLPLUS_PRINT_SET
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 set/multiset
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include <string>
15 #include <iostream>
16 #include <set>
17
18 namespace stlplus
19 {
20
21 template<typename K, typename C, typename S>
22 void print_set(std::ostream& device,
23 const std::set<K,C>& values,
24 S print_fn,
25 const std::string& separator = ",");
26
27 template<typename K, typename C, typename S>
28 void print_multiset(std::ostream& device,
29 const std::multiset<K,C>& values,
30 S print_fn,
31 const std::string& separator = ",");
32
33 } // end namespace stlplus
34
35 #include "print_set.tpp"
36 #endif
This page took 0.035936 seconds and 4 git commands to generate.