UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UseBitwiseSwap.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreTypes.h
"
6
#include <type_traits>
7
11
template
<
typename
T>
12
struct
TUseBitwiseSwap
13
{
14
// We don't use bitwise operations for 'register' types because this will force them into memory and be slower.
15
enum
{
Value
= !(std::is_enum_v<T> || std::is_pointer_v<T> || std::is_arithmetic_v<T>) };
16
};
CoreTypes.h
TUseBitwiseSwap
Definition
UseBitwiseSwap.h:13
TUseBitwiseSwap::Value
@ Value
Definition
UseBitwiseSwap.h:15
Engine
Source
Runtime
Core
Public
Traits
UseBitwiseSwap.h
Generated by
1.9.8