DispatchCheckVerify

MSVC (v19.00.24215.1 at time of writing) ignores no-inline attributes on lambdas.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/AssertionMacros.h"

Syntax

template<typename RetType, class InnerType>
RetType DispatchCheckVerify
(
    InnerType && Inner
)

Remarks

MSVC (v19.00.24215.1 at time of writing) ignores no-inline attributes on lambdas. This can be worked around by calling the lambda from inside this templated (and correctly non-inlined) function.

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