SushiEngine::Core::InlineFunction< Result(Arguments...), Capacity >
InlineFunction
template <typename Callable>
InlineFunction(Callable &&callable)Parameters
| Name | Type | Description |
|---|---|---|
callable | Callable && | Callable whose decayed type's size and alignment fit Capacity and |
Description
Move-constructs callable into inline storage; never allocates.
InlineFunction(const InlineFunction &)=deleteParameters
| Name | Type |
|---|---|
| const InlineFunction & |
InlineFunction(InlineFunction &&other) noexceptParameters
| Name | Type |
|---|---|
other | InlineFunction && |
Description
Relocates other's callable into this instance's storage and empties other.

