UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TIsTriviallyRelocatable< T > Struct Template Reference

#include <IsTriviallyRelocatable.h>

Static Public Attributes

static constexpr bool Value = true
 

Detailed Description

template<typename T>
struct TIsTriviallyRelocatable< T >

A trait which tests if a type is trivially relocatable.

NOTE: In UE, all types are assumed to be trivially relocatable, so this defaults to true. The intent of this trait is for types to specialize it as false when it is known that they are not trivially relocatable, and for containers and other utility functions which use trivial relocation to to inspect this trait and guard against use with types which are known to be not trivially relocatable.

Member Data Documentation

◆ Value

template<typename T >
constexpr bool TIsTriviallyRelocatable< T >::Value = true
inlinestaticconstexpr

The documentation for this struct was generated from the following file: