Registry / utility / boost-heap

boost-heap

JSON →
library1.90.0vcpkgunverified

Priority queue data structures including Fibonacci, binomial, and pairing heaps.

vcpkg install boost-heap
INSTALL
IMPORT
SIG · BOOST-HEAP
B
boost-heap
utilitycppv1.90.0
harness data pending
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/heap/fibonacci_heap.hpp
#include <boost/heap/fibonacci_heap.hpp>

Creates a Fibonacci heap and prints the minimum element.

#include <boost/heap/fibonacci_heap.hpp> #include <iostream> int main() { boost::heap::fibonacci_heap<int> heap; heap.push(3); heap.push(1); heap.push(2); std::cout << heap.top() << std::endl; return 0; }
Debug
Known issues
gotchaBoost.Heap is header-only but may have performance implications for large heaps.
fix
Consider using std::priority_queue for simpler use cases.
affects: all
Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Meta
1
Resources

No resource links recorded.

boost-heap — pip install boost-heap · libregistry