boost::urls::segments_view::segments_view :: Boost Libraries Documentation

# boost::urls::segments_view::segments_view

Constructor

## Synopsis

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

    constexpr
    segments_view(segments_view const& other) = default;

## Description

After construction, viewss reference the same underlying character buffer.

Ownership is not transferred; the caller is responsible for ensuring the lifetime of the buffer extends until it is no longer referenced.

## Postconditions

    this->buffer().data() == other.buffer().data()

## Complexity

Constant

## Exception Safety

Throws nothing

## Parameters

Name | Description
--- | ---
other | The other view.

Created with MrDocs