boost::urls::operator<< :: Boost Libraries Documentation

# boost::urls::operator<<

Format to an output stream

## Synopsis

Declared in `<boost/url/segments_base.hpp>`

    std::ostream&
    operator<<(
        std::ostream& os,
        segments_base const& ps);

## Description

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

## Complexity

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

## Effects

    return os << ps.buffer();

## Return Value

A reference to the output stream.

## Parameters

Name | Description
os | The output stream to write to.
ps | The segments to write.

Created with MrDocs