Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.92.0.
A fcontext_t requires a stack which will be allocated/deallocated by a StackAllocator (examples contain an implementation of simple_stack_allocator).
![]() |
Note |
|---|---|
The implementation of a StackAllocator might include logic to protect against exceeding the context's available stack size rather than leaving it as undefined behaviour. |
![]() |
Note |
|---|---|
The stack is not required to be aligned; alignment takes place inside make_fcontext(). |
![]() |
Note |
|---|---|
Depending on the architecture StackAllocator returns an address from the top of the stack (grows downwards) or the bottom of the stack (grows upwards). |