Format the url to the output stream
ostream&
operator<<(
ostream& os,
const url_view_base& u);
Declared in file <boost/url/url_view_base.hpp> at line 2722
This function serializes the url to the specified output stream. Any percent-escapes are emitted as-is; no decoding is performed.
url_view u( "http://www.example.com/index.htm" );
std::stringstream ss;
ss << u;
assert( ss.str() == "http://www.example.com/index.htm" );
return os << u.buffer();
Linear in `u.buffer().size()`
Basic guarantee.