boost::urls::param::param
Constructor
Synopsis
Declared in <boost/url/param.hpp>
template<class OptionalString>
param(
core::string_view key,
OptionalString const& value);
Description
This constructs a parameter with a key and value.
No validation is performed on the strings. Ownership of the key and value is acquired by making copies.
Template Parameters
Name | Description |
---|---|
OptionalString |
An optional string type, such as |
Parameters
Name | Description |
---|---|
key |
The key to set. |
value |
The value to set. |
Created with MrDocs