Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates
Deprecated * TRemoveConst has been deprecated, please use std::remove_const_t instead.
Inheritance Hierarchy
- TCallTraitsBase
- TCallTraits
- TCallTraits< TObjectPtr< T > >
- TCallTraits< TScriptInterface< InterfaceType > >
- TCallTraits< TSharedPtr< ObjectType, Mode > >
- TCallTraits< TSharedRef< ObjectType, Mode > >
- TCallTraits< TSoftClassPtr< T > >
- TCallTraits< TSoftObjectPtr< T > >
- TCallTraits< TSubclassOf< T > >
- TCallTraits< TWeakObjectPtr< T > >
- TCallTraits< TWeakPtr< ObjectType, Mode > >
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Templates/UnrealTypeTraits.h |
Include | #include "Templates/UnrealTypeTraits.h" |
Syntax
template<class T>
struct TCallTraitsBase
Remarks
TRemoveConst<> is modeled after boost's implementation. It allows you to take a templatized type such as 'const Foo*' and use const_cast to convert that type to 'Foo*' without knowing about Foo. MutablePtr = const_cast< RemoveConst< ConstPtrType >::Type >( ConstPtr );base class for call traits. Used to more easily refine portions when specializing
Typedefs
Name | Description |
---|---|
ConstPointerType | |
ConstReference | |
ParamType | |
Reference | |
ValueType |