Navigation
API > API/Runtime > API/Runtime/Core
Tests if a type T is bitwise-constructible from a given argument type U. That is, whether or not the U can be memcpy'd in order to produce an instance of T, rather than having to go via a constructor.
Examples: TIsBitwiseConstructible
| Name | TIsBitwiseConstructible |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/UnrealTypeTraits.h |
| Include Path | #include "Templates/UnrealTypeTraits.h" |
Syntax
template<typename T, typename Arg>
struct TIsBitwiseConstructible
Derived Classes
Struct Specializations
| Name | Remarks |
|---|---|
| TIsBitwiseConstructible< const T , T > | Const pointers can be bitwise constructed from non-const pointers. |
| TIsBitwiseConstructible< const T , T > | Const pointers can be bitwise constructed from non-const pointers. |
| TIsBitwiseConstructible< const T, U > | |
| TIsBitwiseConstructible< const T, U > | |
| TIsBitwiseConstructible< int16, uint16 > | |
| [TIsBitwiseConstructible< int16t, uint16_t >](API\Runtime\uLangCore\TIsBitwiseConstructible_int16_t-) | |
| TIsBitwiseConstructible< int32, uint32 > | |
| [TIsBitwiseConstructible< int32t, uint32_t >](API\Runtime\uLangCore\TIsBitwiseConstructible_int32_t-) | |
| TIsBitwiseConstructible< int64, uint64 > | |
| [TIsBitwiseConstructible< int64t, uint64_t >](API\Runtime\uLangCore\TIsBitwiseConstructible_int64_t-) | |
| TIsBitwiseConstructible< int8, ANSICHAR > | ANSICHAR can be bitwise converted to a byte or UTF8CHAR conversions in the other direction (to ANSICHAR) are not generally safe |
| TIsBitwiseConstructible< int8, uint8 > | |
| TIsBitwiseConstructible< int8, UTF8CHAR > | UTF8CHAR can be bitwise converted to a byte conversions in the other direction (to UTF8CHAR) are not generally safe |
| TIsBitwiseConstructible< int8_t, uint8_t > | |
| TIsBitwiseConstructible< T, T > | |
| TIsBitwiseConstructible< T, T > | |
| TIsBitwiseConstructible< uint16, int16 > | |
| TIsBitwiseConstructible< uint16_t, int16_t > | |
| TIsBitwiseConstructible< uint32, int32 > | |
| TIsBitwiseConstructible< uint32_t, int32_t > | |
| TIsBitwiseConstructible< uint64, int64 > | |
| TIsBitwiseConstructible< uint64_t, int64_t > | |
| TIsBitwiseConstructible< uint8, ANSICHAR > | |
| TIsBitwiseConstructible< uint8, int8 > | Unsigned types can be bitwise converted to their signed equivalents, and vice versa. |
| TIsBitwiseConstructible< uint8, UTF8CHAR > | |
| [TIsBitwiseConstructible< uint8t, int8_t >](API\Runtime\uLangCore\TIsBitwiseConstructible_uint8_t-) | Unsigned types can be bitwise converted to their signed equivalents, and vice versa. |
| TIsBitwiseConstructible< UTF8CHAR, ANSICHAR > |
Enums
Public
| Name | Remarks |
|---|---|
| TIsBitwiseConstructible | Assume no bitwise construction in general. |