nw::ut::CreateSlot Function

Syntax

template <typename TSlot, typename TFunction>
TSlot * CreateSlot(
     os::IAllocator * allocator,
     TFunction function
);

Template Arguments

Name Description
TSlot Slot type.
TFunction Type of function pointer or function object.

Arguments

Name Description
in allocator Allocator.
in function Function or function object.

Return Values

The created slot.

Description

Creates a slot.


CONFIDENTIAL