Shortcuts

Template Function ripple::detail::add_friend_nodes

Function Documentation

template<size_t Align, size_t MinStorage, typename Iterator>
auto ripple::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.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples