Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
static_url::static_url (1 of 4 overloads)

Constructor.

Synopsis
static_url();
Description

Default constructed urls contain a zero-length string. This matches the grammar for a relative-ref with an empty path and no query or fragment.

Example
static_url< 1024 > u;
Postconditions
this->empty() == true
Complexity

Constant.

Exception Safety

Throws nothing.

BNF
relative-ref  = relative-part [ "?" query ] [ "#" fragment ]
Specification

4.2. Relative Reference (rfc3986)


PrevUpHomeNext