MySQL 9.1.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
concat.h File Reference

Convenience function that concatenates arbitrary arguments, by feeding them to an ostringstream. More...

#include <sstream>
#include <string>

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::utils
 
namespace  mysql::utils::internal
 

Functions

void mysql::utils::internal::concat_to_stringstream (std::ostringstream &out)
 
template<class T , class... Args>
void mysql::utils::internal::concat_to_stringstream (std::ostringstream &out, T first, Args... remainder)
 
template<class... Args>
std::string mysql::utils::concat (Args... args)
 Convert all the arguments to strings and concatenate the strings. More...
 

Detailed Description

Convenience function that concatenates arbitrary arguments, by feeding them to an ostringstream.