:relfileprefix: ../../../ [#boost-urls-url-2constructor-01] = xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/url.adoc[pass:[url]]::url Constructor == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- url(xref:boost/urls/url.adoc[url]&& u) noexcept; ---- == Description The contents of `u` are transferred to the newly constructed object, which includes the underlying character buffer. After construction, the moved-from object is as if default constructed. === Postconditions [,cpp] ---- u.empty() == true ---- === Complexity Constant. === Exception Safety Throws nothing. == Parameters |=== | Name | Description | *u* | The url to move from. |===