Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/UnrealTemplate.h |
Include |
#include "Templates/UnrealTemplate.h" |
template<typename T>
constexpr int32 GetNum
(
std::initializer_list< T > List
)
Gets the number of items in an initializer list.
The return type is int32 for compatibility with other code in the engine. Realistically, an initializer list should not exceed the limits of int32.