nw::ut::CreateSlot Function
template <typename TSlot, typename TFunction>
TSlot * CreateSlot(
os::IAllocator * allocator,
TFunction function
);
| Name | Description |
|---|---|
| TSlot | Slot type. |
TFunction |
Type of function pointer or function object. |
| Name | Description | |
|---|---|---|
| in | allocator | Allocator. |
| in | function | Function or function object. |
Creates a slot.
CONFIDENTIAL