7template <
class Stream,
class Iter>
14 for (++iter; iter != end; ++iter)
15 s << delimiter << *iter;
19template <
class Collection>
30 template <
class Stream>
38template <
class Collection, std::
size_t N>
50 template <
class Stream>
59template <std::
size_t N>
70 template <
class Stream>
75 if (N > 0 && *(end - 1) ==
'\0')
CollectionAndDelimiter(Collection const c[N], std::string delim)
std::string const delimiter
Collection const * collection
std::string const delimiter
CollectionAndDelimiter(char const c[N], std::string delim)
friend Stream & operator<<(Stream &s, CollectionAndDelimiter const &cd)
Collection const & collection
std::string const delimiter
CollectionAndDelimiter(Collection const &c, std::string delim)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Stream & join(Stream &s, Iter iter, Iter end, std::string const &delimiter)