]>
Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_set.hpp
1 #ifndef STLPLUS_PRINT_SET
2 #define STLPLUS_PRINT_SET
3 ////////////////////////////////////////////////////////////////////////////////
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
10 // Generate a string representation of a set/multiset
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
21 template<typename K
, typename C
, typename S
>
22 void print_set(std::ostream
& device
,
23 const std::set
<K
,C
>& values
,
25 const std::string
& separator
= ",");
27 template<typename K
, typename C
, typename S
>
28 void print_multiset(std::ostream
& device
,
29 const std::multiset
<K
,C
>& values
,
31 const std::string
& separator
= ",");
33 } // end namespace stlplus
35 #include "print_set.tpp"
This page took 0.033828 seconds and 4 git commands to generate.