...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Assignment.
static_url& operator=( url_view_base const& u);
The contents of u
are
copied and the previous contents of this
are discarded.
this->buffer() == u.buffer() && this->buffer().data() != u.buffer().data()
Linear in u.size()
.
Strong guarantee. Exception thrown if capacity exceeded.
Type |
Thrown On |
---|---|
|
Capacity would be exceeded. |
Name |
Description |
---|---|
|
The url to copy. |