boost::capy::execution_context::set_frame_allocator
Set the frame allocator from a standard Allocator.
Synopsis
template<class Allocator>
requires (!std::is_pointer_v<Allocator>)
void
set_frame_allocator(Allocator const& a);
Description
The allocator is wrapped in an internal memory resource adapter owned by this context. The wrapper remains valid for the lifetime of this context or until a subsequent call to set_frame_allocator.
Thread Safety
Not thread‐safe. Must not be called while any thread may be referencing this execution context or its executor.
Template Parameters
| Name | Description |
|---|---|
Allocator |
The allocator type satisfying the standard Allocator requirements. |
See Also
get_frame_allocator
Created with MrDocs