Template Class nested_forward_lists¶
Defined in File nested_forward_lists.hpp
Class Documentation¶
-
template<typename
T, typenameIndex, IndexNullValue>
classfwdpp::nested_forward_lists¶ Container of multiple owning forward lists with corresponding head/tail index vector describing where individual lists start/stop. Addition of a list at a new index creates null entries for intervening head/tail indexes as needed. Intended use is to track linked lists whose entry points (head) can be specified by integers. Const forward/backward iterator access is provided to the head vector.
- Version
0.9.0 Added to library
Public Types
Public Functions
-
nested_forward_lists()¶
-
void
reset(std::size_t newsize)¶
-
void
clear()¶
-
void
release_memory()¶
-
const_iterator
begin() const¶
-
const_iterator
end() const¶
-
const_reverse_iterator
rbegin() const¶
-
const_reverse_iterator
rend() const¶
-
Index
convert_to_head_index(const_iterator i) const¶
-
Index
convert_to_head_index(const_reverse_iterator i) const¶