Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext
string_param::string_param (2 of 2 overloads)

Constructor.

Synopsis
template<
    class... Args>
string_param(
    Args const&... args);
Description

This function constructs a string as if by concatenating the result of streaming each argument in order into an output stream. It is used as a notational convenience at call sites which expect a parameter with the semantics of a string_view.

The implementation uses a small, internal static buffer to avoid memory allocations especially for the case where the list of arguments to be converted consists of a single integral type.

Parameters

Name

Description

args

One or more arguments to convert


PrevUpHomeNext