Navigation
API > API/Runtime > API/Runtime/Core
Const pointers can be bitwise constructed from non-const pointers. This is not true for pointer conversions in general, e.g. where an offset may need to be applied in the case of multiple inheritance, but there is no way of detecting that at compile-time.
| Name | TIsBitwiseConstructible< const T , T > |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/UnrealTypeTraits.h |
| Include Path | #include "Templates/UnrealTypeTraits.h" |
Syntax
template<typename T>
struct TIsBitwiseConstructible< const T *, T * >
Enums
Public
| Name | Remarks |
|---|---|
| TIsBitwiseConstructible< const T , T > | Constructing a const T is the same as constructing a T. |