Boost.URL Logo

PrevUpHomeNext

MutableString

A MutableString nominally represents a modifiable, contiguous buffer whose value_type is char. Objects which satisfy these requirements may be appended to and assigned to by algorithms which store the result of applying percent-decoding to various components of URLs and other things.

Related Identifiers
Requirements

In this table:

Table 1.11. Valid expressions

Expression

Type

Semantics, Pre/Post-conditions

T::value_type

char

std::is_same_v< T::value_type, char >

s.assign(first,last)

Assigns the characters in the range [first, last) to s.

s.append(first,last)

Appends the characters in the range [first, last) to s.


Exemplar
struct MutableString
{
    template< class InputIt >
    void assign( InputIt first, InputIt last );

    template< class InputIt >
    void append( InputIt first, InputIt last );
};
Models
See also

PrevUpHomeNext