libpqxx
The C++ client library for PostgreSQL
separated_list.hxx File Reference
#include <numeric>
#include "pqxx/strconv.hxx"
+ Include dependency graph for separated_list.hxx:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 pqxx
 The home of all libpqxx classes, functions, templates, etc.
 

Functions

template<std::forward_iterator ITER, typename ACCESS >
std::string pqxx::separated_list (std::string_view sep, ITER begin, ITER end, ACCESS access, ctx c={})
 Represent sequence of values as a string, joined by a given separator. More...
 
template<std::forward_iterator ITER>
std::string pqxx::separated_list (std::string_view sep, ITER begin, ITER end, ctx c={})
 Render sequence as a string, using given separator between items. More...
 
template<std::ranges::range CONTAINER>
std::string pqxx::separated_list (std::string_view sep, CONTAINER &&con, ctx c={})
 Render items in a container as a string, using given separator. More...
 
template<typename TUPLE , std::size_t INDEX = 0, typename ACCESS >
std::string pqxx::separated_list (std::string_view sep, TUPLE const &t, ACCESS const &access, ctx c={})
 Render items in a tuple as a string, using given separator. More...
 
template<typename TUPLE , std::size_t INDEX = 0>
std::string pqxx::separated_list (std::string_view sep, TUPLE const &t, ctx c={})