Move-only, small-buffer-optimized function wrapper. More...
#include "Raven/Core/Types.h"#include "Raven/Core/Base.h"#include <type_traits>#include <cassert>Classes | |
| class | Raven::FixedFunction< R(Args...), StorageSize > |
Namespaces | |
| namespace | Raven |
Move-only, small-buffer-optimized function wrapper.
FixedFunction is a lightweight alternative to std::function that avoids dynamic allocation for small callables by storing them inline (SBO).
Key properties:
Example: