[#boost-urls-params_view-operator_assign] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_view.adoc[params_view]::operator= :relfileprefix: ../../../ :mrdocs: Assignment == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_view.hpp#L286[boost/url/params_view.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/params_view.adoc[params_view]& operator=(xref:boost/urls/params_view.adoc[params_view] const& other) = default; ---- == Description After assignment, both views reference the same underlying character buffer. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the buffer extends until it is no longer referenced. == Postconditions [,cpp] ---- this->buffer().data() == other.buffer().data() ---- == Complexity Constant == Exception Safety Throws nothing == Return Value A reference to this object == Parameters [cols=2] |=== | Name | Description | *other* | The object to assign |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#