FObjectInitializer::AssertIfInConstructor

Asserts with the specified message if code is executed inside [UObject](API\Runtime\CoreUObject\UObject\UObject) constructor

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h

Include

#include "UObject/UObjectGlobals.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp

Syntax

static void AssertIfInConstructor
(
    UObject * Outer,
    const TCHAR * ErrorMessage
)

Remarks

Asserts with the specified message if code is executed inside UObject constructor

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