The Intrusive Doubly Linked Lists Reference
Intrusive doubly linked lists classes. More...
Classes Index
class | intrusive_list<T, N, MP, L, U> |
A class template for a list of nodes which store the links inside themselves as intrusive nodes. More... | |
class | intrusive_list_iterator<T, N, MP, U> |
A class template for the intrusive list iterator. More... | |
Description
Intrusive doubly linked lists classes.
Intrusive lists are doubly linked lists that store the two pointers required for linking directly within each object that is part of the list. This approach eliminates the need for separate node wrappers, resulting in improved performance and reduced memory usage.
The intrusive lists can be defined by instantiating the micro_os_plus::utils::intrusive_list
class template, which provides a flexible and efficient way to manage collections of objects.
- Example
The following example demonstrates how to define and use an intrusive list:
Generated via docusaurus-plugin-doxygen by Doxygen 1.13.2