boost::urls::grammar::recycled_ptr::recycled_ptr :: Boost Libraries Documentation

# boost::urls::grammar::recycled_ptr::recycled_ptr

Constructor

## Synopsis

Declared in `<boost/url/grammar/recycled.hpp>`

    recycled_ptr(recycled_ptr const& other) noexcept;

## Description

If `other` references an object, the newly constructed pointer acquires shared ownership. Otherwise this is empty. The new pointer references the same recycle bin as `other`.

## Postconditions

    &this->bin() == &other->bin() && this->get() == other.get()

## Exception Safety

Throws nothing.

## Parameters

Name | Description
--- | ---
other | The pointer to copy

Created with MrDocs