Owned canonical collection of incremental invalidations. More...
#include <transaction.hpp>
Public Member Functions | |
| DirtySet (std::vector< DirtyItem > items={}, std::vector< DirtyContext > contexts={}) | |
| Takes ownership and canonicalizes dirty records. | |
| std::span< const DirtyItem > | items () const noexcept |
| Returns canonical item invalidations in stable sorted order. | |
| std::span< const DirtyContext > | contexts () const noexcept |
| Returns unique context invalidations in stable sorted order. | |
| std::size_t | retained_size () const noexcept |
| Returns the owned object and vector-storage size estimate. | |
Owned canonical collection of incremental invalidations.
A DirtySet is immutable through its public API. Spans returned by accessors remain valid until the set is destroyed or replaced.
|
explicit |
Takes ownership and canonicalizes dirty records.
Items are sorted by sequence, track, and item; duplicate locations are merged by OR-ing flags. Contexts are sorted and deduplicated.
|
inlinenoexcept |
Returns unique context invalidations in stable sorted order.
|
inlinenoexcept |
Returns canonical item invalidations in stable sorted order.
|
noexcept |
Returns the owned object and vector-storage size estimate.