]>
Dogcows Code - chaz/yoink/blob - src/stlplus/strings/string_set.hpp
1 #ifndef STLPLUS_STRING_SET
2 #define STLPLUS_STRING_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"
20 template<typename K
, typename C
, typename S
>
21 std::string
set_to_string(const std::set
<K
,C
>& values
,
23 const std::string
& separator
= ",");
25 template<typename K
, typename C
, typename S
>
26 std::string
multiset_to_string(const std::multiset
<K
,C
>& values
,
28 const std::string
& separator
= ",");
30 } // end namespace stlplus
32 #include "string_set.tpp"
This page took 0.034314 seconds and 4 git commands to generate.