boost::urls::format_to

Format arguments into a URL

Synopses

Declared in <boost/url/format.hpp>
Format arguments into a URL
void
format_to(
    url_base& u,
    core::string_view fmt,
    std::initializer_list<format_arg> args);


» more... Format arguments into a URL
template<std::convertible_to<format_arg>... Args>
void
format_to(
    url_base& u,
    core::string_view fmt,
    Args...&&... args);


» more...

Exceptions

Name Thrown on
system_error fmt contains an invalid format string and u contains an invalid URL after replacements are applied.

Parameters

Name Description
u An object that derives from url_base.
fmt The format URL string.
args Arguments to be formatted.

See Also

format.

Created with MrDocs