:relfileprefix: ../../
[#boost-urls-operator_lshift-0b9]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::operator<<


Format to an output stream


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:std.adoc[std]::ostream&
operator<<(
    xref:std.adoc[std]::ostream& os,
    xref:boost/urls/segments_base.adoc[segments_base] const& ps);
----

== Description


Any percent-escapes are emitted as-is;
no decoding is performed.

=== Complexity

Linear in `ps.buffer().size()`.

=== Effects
[,cpp]
----
return os << ps.buffer();
----








