:relfileprefix: ../../../../ [#boost-urls-grammar-recycled_ptr-acquire] = xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/grammar.adoc[pass:[grammar]]::xref:boost/urls/grammar/recycled_ptr.adoc[pass:[recycled_ptr]]::acquire Return the referenced object == Synopsis Declared in header `` [source,cpp,subs="verbatim,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() ----