TIsBitwiseConstructible< const T *, T * >

Const pointers can be bitwise constructed from non-const pointers.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/UnrealTypeTraits.h

Include

#include "Templates/UnrealTypeTraits.h"

Syntax

template<typename T>
struct TIsBitwiseConstructible< const T , T >

Remarks

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.

Constants

Name

Description

Value

Constructing a const T is the same as constructing a T.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss