8template <
class Stream,
class Iter>
15 for (++iter; iter != end; ++iter)
16 s << delimiter << *iter;
20template <
class Collection>
32 template <
class Stream>
44template <
class Collection, std::
size_t N>
56 template <
class Stream>
65template <std::
size_t N>
77 template <
class Stream>
82 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)