<boost/url/grammar/string_token.hpp>
template<class Alloc = std::allocator<char>>
/* implementation-defined */
preserve_size(std::basic_string<char, std::char_traits<char>, Alloc>& s);
This function creates a StringToken
which assigns to an existing plain string.
Functions using this token will assign the result to the existing string and return a core::string_view
to it.
Name | Description |
---|---|
s | The string to preserve |