boost::redis::resp3::flat_tree::operator=

Move assignment.

Synopsis

constexpr
flat_tree&
operator=(flat_tree&& other) = default;

Description

Replaces the nodes in *this by taking ownership of the nodes in other. other is left in a valid but unspecified state.

Object lifetimes

References to the nodes and strings in other remain valid. References to the nodes and strings in *this are invalidated.

Exception safety

No‐throw guarantee.

Return Value

Reference to the current object

Parameters

Name Description

other

The object to move assign from

Created with MrDocs