:relfileprefix: ../../../
[#boost-urls-string_token-assign_to]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/string_token.adoc[pass:[string_token]]::assign_to


A token for assigning to a plain string


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/string_token.hpp#L293[boost/url/grammar/string_token.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<class Alloc = std::allocator<char>>
pass:q[_implementation-defined_]
assign_to(std::basic_string<char, std::char_traits<char>, Alloc>& s);
----







