8#ifndef STLAB_ITERATOR_SET_NEXT_HPP
9#define STLAB_ITERATOR_SET_NEXT_HPP
17#include <stlab/config.hpp>
22STLAB_VERSION_NAMESPACE_BEGIN()
48inline void splice_node_range(I location, I first, I last) {
49 I successor(std::next(location));
50 set_next(location, first);
51 set_next(last, successor);
57 set_next(location, std::next(std::next(location)));
63 set_next(std::prev(location), std::next(location));
71STLAB_VERSION_NAMESPACE_END()
void skip_node(I location)
Removes the node at location from the intrusive list (bidirectional iterator).
Definition set_next.hpp:62
void skip_next_node(I location)
Skips the node after location by linking location to the node after next.
Definition set_next.hpp:56
void set_next(const I &x, const I &y)
Sets the successor of the node referenced by x to y (via set_next_fn<I>).
Definition set_next.hpp:41
Definition reverse.hpp:39
Definition reverse.hpp:28
Hook for intrusive iterators: specialize to set the successor of the node at x to y.
Definition set_next.hpp:35