|
Broom 1.0.0
A thread-local C++ Garbage Collector
|
#include <broom-vector.h>


Additional Inherited Members | |
Public Member Functions inherited from broom::BroomValue | |
| virtual | ~BroomValue () |
| virtual void | Visit (Visitor *visitor) const =0 |
Protected Member Functions inherited from broom::BroomValue | |
| BroomValue (GarbageCollector *gc) | |
| BroomValue () | |
| BroomValue (const BroomValue &other) | |
| BroomValue & | operator= (const BroomValue &other) |
| BroomValue & | operator= (BroomValue &&other) noexcept |
A Broom wrapper for std::vector. broom::vector aims to cover all the cases where one might want to use a std::vector, while still remaining safe in the context of garbage collection. Since std::vector is not on the stack and won't be scanned automatically, any managed pointer in it will be garbage collected prematurely. broom::vector aims to alleviate this concern by implementing it as a precise root. broom::vector is only available as an interface and you should never rely on its implementation details, as they may change.
Definition at line 28 of file broom-vector.h.