[#boost-urls-grammar-recycled_ptr-acquire] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr]::acquire :relfileprefix: ../../../../ :mrdocs: Return the referenced object == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/recycled.hpp#L483[boost/url/grammar/recycled.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- T& acquire(); ---- == Description If this references an object, it is returned. Otherwise, exclusive ownership of a new object of type `T` is acquired and returned. === Postconditions [,cpp] ---- not this->empty() ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#