operator=

Assignment

Synopsis

url& operator=( url&& u) noexcept;

Declared in file <src/url.cpp> at line 57

Description

The contents of `u` are transferred to `this`, including the underlying character buffer. The previous contents of `this` are destroyed. After assignment, the moved-from object is as if default constructed.

Postconditions

u.empty() == true

Complexity

Constant.

Exception Safety

Throws nothing.