rcpputils  master
C++ API providing common utilities and data structures.
Namespaces | Functions
join.hpp File Reference

Join container of objects into single string. More...

#include <algorithm>
#include <iterator>
#include <sstream>
#include <string>
Include dependency graph for join.hpp:

Go to the source code of this file.

Namespaces

 rcpputils
 

Functions

template<typename CharT , typename ValueT , typename AllocatorT , template< typename T, class A > class ContainerT>
std::basic_string< CharT > rcpputils::join (const ContainerT< ValueT, AllocatorT > &container, const CharT *delim)
 Join values in a container turned into strings by a given delimiter. More...
 

Detailed Description

Join container of objects into single string.