boost::urls::pct_string_view::pct_string_view

Constructors

Synopses

Declared in <boost/url/pct_string_view.hpp>

Constructor

constexpr
pct_string_view() = default;
» more...

Constructor

constexpr
pct_string_view(pct_string_view const& other) = default;
» more...

Constructor (deleted)

pct_string_view(std::nullptr_t value) = delete;
» more...

Constructor

pct_string_view(core::string_view s);
» more...

Constructor

template<std::convertible_to<core::string_view> String>
requires std::is_convertible<
                String,
                core::string_view
                    >::value
constexpr
pct_string_view(String const& s);
» more...

Constructor

pct_string_view(
    char const* s,
    std::size_t len);
» more...

Exceptions

NameThrown on
system_errorThe string contains an invalid percent encoding.

Template Parameters

NameDescription
StringA type convertible to core::string_view

Parameters

NameDescription
otherThe string to copy.
sThe string to construct from.
lenThe length of the string.