CProvidesDefaultUObject

Access to a global default object is required in order to patch vtables Normally this can be provided by a default-constructed object.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/MemoryLayout.h

Include

#include "Serialization/MemoryLayout.h"

Syntax

struct CProvidesDefaultUObject

Remarks

Access to a global default object is required in order to patch vtables Normally this can be provided by a default-constructed object. For objects without default constructors, a default object must be provided through the global function GetDefault<T>()THasCustomDefaultObject<T>::Value must be specialized to true for these types. This is done by default for any UObject-derived types, which already provide GetDefault<T>()

Functions

Name Description

Public function

auto

 

Requires

(
    const T&
)

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