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

Detailed Description

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

Classes

struct  stlab::unsafe::set_next_fn< I >
 Hook for intrusive iterators: specialize to set the successor of the node at x to y. More...

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).