acquire

Return the referenced object

Synopsis

T&
acquire();

Declared in file <include/boost/url/grammar/recycled.hpp> on line 484

Defined in file <include/boost/url/grammar/impl/recycled.hpp> on line 195

Description

If this references an object, it is returned. Otherwise, exclusive ownership of a new object of type T is acquired and returned.

Postconditions

not this->empty()