Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
boost/intrusive/list.hpp
✓ #include <boost/intrusive/list.hpp>
Create an intrusive doubly-linked list.
#include <boost/intrusive/list.hpp>
#include <iostream>
struct MyClass : boost::intrusive::list_base_hook<> {
int value;
MyClass(int v) : value(v) {}
};
int main() {
boost::intrusive::list<MyClass> list;
MyClass a(1), b(2);
list.push_back(a);
list.push_back(b);
for (auto& item : list)
std::cout << item.value << std::endl;
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.