TAlignedBytes

Used to declare an untyped array of data with compile-time alignment.

Windows
MacOS
Linux

Inheritance Hierarchy

TAlignedBytes

TTypeCompatibleBytes

References

Module

Core

Header

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

Include

#include "Templates/TypeCompatibleBytes.h"

Syntax

template<int32 Size, uint32 Alignment>
struct TAlignedBytes

Remarks

Used to declare an untyped array of data with compile-time alignment. It needs to use template specialization as the MS_ALIGN and GCC_ALIGN macros require literal parameters.

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