stlab 2.3.0
Modern, modular C++ algorithms, data structures, and concurrency primitives
Loading...
Searching...
No Matches
set_next.hpp File Reference

Intrusive forward/bidirectional iterator helpers (set_next, splice, skip). More...

#include <iterator>
#include <stlab/config.hpp>

Go to the source code of this file.

Functions

template<typename I>
void stlab::unsafe::set_next (const I &x, const I &y)
 Sets the successor of the node referenced by x to y (via set_next_fn<I>).
template<typename I>
void stlab::unsafe::splice_node_range (I location, I first, I last)
template<typename I>
void stlab::unsafe::skip_next_node (I location)
 Skips the node after location by linking location to the node after next.
template<typename I>
void stlab::unsafe::skip_node (I location)
 Removes the node at location from the intrusive list (bidirectional iterator).

Detailed Description

Intrusive forward/bidirectional iterator helpers (set_next, splice, skip).