Template Function ripple::detail::add_friend_nodes¶
Defined in File utils_.hpp
Function Documentation¶
-
template<size_t
Align
, size_tMinStorage
, typenameIterator
>
autoripple::detail
::
add_friend_nodes
(Node<Align, MinStorage> &node, Iterator &&it) noexcept -> void¶ Adds all the nodes which would surround the node as friends of the node, which ensures that any subsequent operations on the node will not happen until the friends have finished.
- Parameters
node
: The node to set the friends for.it
: The iterator to the block for the node.
- Template Parameters
Align
: The alignment of the node.Iterator
: The type of the iterator.