template<typename BlockType>
class pw::allocator::BlockResult< BlockType >
Extends GenericBlockResult to include a pointer to a block.
The included pointer is to the block affected by the operation that produced a result. On error, this should be the original block. On success, it may be a newly produced block.
- Template Parameters
-
| BlockType | The type of the block included in the result. |
|
|
constexpr | BlockResult (BlockType *block) |
| |
|
constexpr | BlockResult (BlockType *block, Status status) |
| |
|
constexpr | BlockResult (BlockType *block, Prev prev) |
| |
|
constexpr | BlockResult (BlockType *block, Prev prev, size_t shifted_to_prev) |
| |
|
constexpr | BlockResult (BlockType *block, Next next) |
| |
|
constexpr | BlockResult (BlockType *block, Prev prev, Next next) |
| |
|
constexpr | BlockResult (BlockType *block, Prev prev, Next next, size_t shifted_to_prev) |
| |
|
constexpr BlockType * | block () const |
| |
|
constexpr Prev | prev () const |
| |
|
constexpr Next | next () const |
| |
|
constexpr size_t | size () const |
| |
|
constexpr bool | ok () const |
| |
|
constexpr Status | status () const |
| |
| constexpr void | IgnoreUnlessStrict () const |
| |