A composable RawAllocator that will always fail.
This is useful for compositioning or as last resort in binary_segregator.
◆ allocate_node()
void * allocate_node |
( |
std::size_t |
size, |
|
|
std::size_t |
|
|
) |
| |
◆ deallocate_node()
void deallocate_node |
( |
void * |
, |
|
|
std::size_t |
, |
|
|
std::size_t |
|
|
) |
| |
|
noexcept |
- Requires:
- Must not be called.
◆ try_allocate_node()
void * try_allocate_node |
( |
std::size_t |
, |
|
|
std::size_t |
|
|
) |
| |
|
noexcept |
- Effects:
- Does nothing.
- Returns:
- Always returns
nullptr
.
◆ try_deallocate_node()
bool try_deallocate_node |
( |
void * |
, |
|
|
std::size_t |
, |
|
|
std::size_t |
|
|
) |
| |
|
noexcept |
- Effects:
- Does nothing.
- Returns:
- Always returns
false
.