TUEStaticAssertTypeChecker< T & >

References are always complete types, but as we're using sizeof to check and sizeof ignores references, let's just return a known complete type to make it work.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/StaticAssertCompleteType.h

Include

#include "Misc/StaticAssertCompleteType.h"

Syntax

template<typename T>
struct TUEStaticAssertTypeChecker< T & >

Remarks

References are always complete types, but as we're using sizeof to check and sizeof ignores references, let's just return a known complete type to make it work.

Functions

Name Description

Public function Static

int

 

Func()

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