Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/uLang > API/Runtime/uLangCore/uLang/Common
Classes
| Type | Name | Description | |
|---|---|---|---|
| CNoncopyable | Utility template for a class that should not be copyable. | ||
| SIdentityFunctor | A functor which returns whatever is passed to it. Mainly used for generic composition. | ||
| TAnd | Does a boolean AND of the ::Value static members of each type, but short-circuits if any Type::Value == false. | ||
| TAndValue | |||
| TAreTypesEqual | Tests whether two typenames refer to the same type. | ||
| TCallTraits | TCallTraits | ||
| TCallTraitsBase | Base class for call traits. Used to more easily refine portions when specializing | ||
| TCallTraitsParamTypeHelper | Call traits helpers | ||
| TChooseClass | Chooses between two different classes based on a boolean. | ||
| TContainerTraits | |||
| TContainerTraitsBase | Traits for containers. | ||
| TDecay | Returns the decayed type of T, meaning it removes all references, qualifiers and applies array-to-pointer and function-to-pointer conversions. | ||
| TDecayNonReference | |||
| TDereferenceWrapper | Helper class for dereferencing pointer types in Sort function | ||
| TEnableIf | Includes a function in an overload set if the predicate is true. | ||
| TGuard | |||
| TGuardValue | Exception-safe guard around saving/restoring a value. | ||
| TIsArithmetic | Traits class which tests if a type is arithmetic. | ||
| TIsBitwiseConstructible | Tests if a type T is bitwise-constructible from a given argument type U. | ||
| TIsConstructible | Determines if T is constructible from a set of arguments. | ||
| TIsContiguousContainer | Traits class which tests if a type is a contiguous container. | ||
| TIsEnum | |||
| TIsIntegral | Traits class which tests if a type is integral. | ||
| TIsInvocable | Traits class which tests if an instance of CallableType can be invoked with a list of the arguments of the types provided. | ||
| TIsInvocableImpl | |||
| TIsLValueReferenceType | TIsLValueReferenceType | ||
| TIsMemberPointer | Traits class which tests if a type is a pointer to member (data member or member function). | ||
| TIsPODType | Traits class which tests if a type is POD. | ||
| TIsPointer | Traits class which tests if a type is a pointer. | ||
| TIsReferenceType | TIsReferenceType | ||
| TIsRValueReferenceType | TIsRValueReferenceType | ||
| TIsSame | TIsSame | ||
| TIsTriviallyDestructible | Traits class which tests if a type has a trivial destructor. | ||
| TIsZeroConstructType | TIsZeroConstructType | ||
| TLess | Binary predicate class for sorting elements in order. | ||
| TNot | Does a boolean NOT of the Value static members of the type. | ||
| TOr | Does a boolean OR of the ::Value static members of each type, but short-circuits if any Type::Value == true. | ||
| TOrValue | |||
| TPointerIsConvertibleFromTo | Tests if a From* is convertible to a To* | ||
| TPointerIsConvertibleFromTo_TestBase | |||
| TPointerIsConvertibleFromTo_TestDerived | |||
| TPointerIsConvertibleFromTo_Unrelated | |||
| TPointerIsStaticCastableFromTo | |||
| TRemoveCV | TRemoveCV |
||
| TRemovePointer | Removes one level of pointer from a type, e.g.: | ||
| TRemoveReference | TRemoveReference |
||
| TReversePredicate | Helper class to reverse a predicate. Performs Predicate(B, A) | ||
| TTypeCompatibleBytes | An untyped array of data with compile-time alignment and size derived from another type. | ||
| TTypeTraits | Traits for types. | ||
| TTypeTraitsBase | Helper for array traits. | ||
| TUseBitwiseSwap | A traits class which specifies whether a Swap of a given type should swap the bits or use a traditional value-based swap. | ||
| TVoid |
Typedefs
| Name | Description |
|---|---|
| TDecayT | |
| TEnableIfT |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE constexpr T | uLang::AlignUp
(
T Val, |
Aligns a value to the nearest higher multiple of 'Alignment', which must be a power of two. | |
| ULANG_FORCEINLINE T && | uLang::ForwardArg
(
typename TRemoveReference< T >::Type&& Obj |
||
| ULANG_FORCEINLINE T && | uLang::ForwardArg
(
typename TRemoveReference< T >::Type& Obj |
ForwardArg will cast a reference to an rvalue reference. This is UE's equivalent of std::forward. | |
| ULANG_FORCEINLINE auto | uLang::Invoke
(
ReturnType ObjType::* pdm, |
||
| ULANG_FORCEINLINE auto | uLang::Invoke
(
FuncType&& Func, |
Invokes a callable with a set of arguments. | |
| ULANG_FORCEINLINE auto | uLang::Invoke
(
ReturnType(ObjType::*)(PMFArgTypes...) PtrMemFun, |
||
| ULANG_FORCEINLINETRemoveReference< T >::Type && | uLang::Move
(
T&& Obj |
Move will cast a reference to an rvalue reference. | |
| ULANG_FORCEINLINETRemoveReference< T >::Type && | uLang::MoveIfPossible
(
T&& Obj |
MoveIfPossible will cast a reference to an rvalue reference. | |
| T && | |||
| ULANG_FORCEINLINE auto | uLang::Private::DereferenceIfNecessary
(
CallableType&& Callable |
||
| TEnableIf< TUseBitwiseSwap< T >::Value >::Type | uLang::Swap
(
T& A, |
Swap two values. Assumes the types are trivially relocatable. | |
| TEnableIfTUseBitwiseSwap< T >::Value >::Type | uLang::Swap
(
T& A, |
||
uLang::TGuard
(
Function&& |
|||
| decltype(Container.GetData()) | uLang::ULangGetData
(
T&& Container |
Generically gets the data pointer of a contiguous container Named differently from GetData() in UnrealTemplate.h to avoid ambiguous overload resolution. | |
| T * | uLang::ULangGetData
(
T(&) Container |
||
| T * | uLang::ULangGetData
(
std::initializer_list< T > List |
||
| FirstIterator | uLang::ULangGetData
(
const TRangeView< FirstIterator, LastIterator >& View |
||
| size_t | uLang::ULangGetNum
(
std::initializer_list< T > List |
||
| size_t | uLang::ULangGetNum
(
T&& Container |
Generically gets the number of items in a contiguous container Named differently from GetNum() in UnrealTemplate.h to avoid ambiguous overload resolution. | |
| size_t | uLang::ULangGetNum
(
T(&) Container |
||
| int32_t | uLang::ULangGetNum
(
const TRangeView< FirstIterator, LastIterator >& View |