:relfileprefix: ../../
[#boost-urls-encode_unsafe]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::encode_unsafe



== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<class CharSet>
xref:std.adoc[std]::size_t
encode_unsafe(
    char* dest,
    xref:std.adoc[std]::size_t size,
    core::string_view s,
    CharSet const& unreserved,
    xref:boost/urls/encoding_opts.adoc[encoding_opts] opt);
----







