boost::redis::resp3::flat_tree::clear
Clears the tree so it contains no nodes.
Description
Calling this function removes every node, making the range contain no nodes, and get_total_msgs return zero. It does not modify the object's capacity.
To re‐use a flat_tree for several requests, use clear() before each async_exec call.
Exception safety
No‐throw guarantee.
Created with MrDocs