:relfileprefix: ../../../
[#F70CD60B81261B09A9576AD32E294224B8FDE110]

= Function url::url

pass:v,q[Constructor]


== Synopsis

Declared in header `</boost/url/url.hpp#L243[boost/url/url.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
url(const xref:boost/urls/url.adoc[url]& u);
----

== Description

pass:v,q[The newly constructed object] pass:v,q[contains a copy of `u`.]

=== Postconditions
[,cpp]
----
this->buffer() == u.buffer() && this->buffer().data() != u.buffer().data()
----

=== Complexity
pass:v,q[Linear in `u.size()`.]

=== Exception Safety
pass:v,q[Strong guarantee.]
pass:v,q[Calls to allocate may throw.]



== Return Value

* `void` 


== Parameters

|===
| Name | Type 

| *u*
| ``

|===



