[#boost-urls-url-2constructor-01] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url.adoc[url]::url :relfileprefix: ../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/url.hpp#L194[boost/url/url.hpp]>` [source,cpp,subs="verbatim,replacements,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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#