]>
Dogcows Code - chaz/yoink/blob - src/stlplus/strings/string_sequence.hpp
1 #ifndef STLPLUS_STRING_SEQUENCE
2 #define STLPLUS_STRING_SEQUENCE
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 string representations of sequences represented by forward iterators
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
19 ////////////////////////////////////////////////////////////////////////////////
20 // any forward iterator sequence
22 template <typename I
, typename S
>
23 std::string
sequence_to_string(I begin
,
26 const std::string
& separator
);
29 ////////////////////////////////////////////////////////////////////////////////
30 // any forward iterator sequence of pairs
32 template <typename I
, typename S1
, typename S2
>
33 std::string
pair_sequence_to_string(I begin
,
37 const std::string
& pair_separator
,
38 const std::string
& separator
);
40 ////////////////////////////////////////////////////////////////////////////////
42 } // end namespace stlplus
44 #include "string_sequence.tpp"
This page took 0.036972 seconds and 4 git commands to generate.