FGenericPlatformMath::Max

Returns higher value in a generic way

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h

Include

#include "GenericPlatform/GenericPlatformMath.h"

Syntax

template<class T>
static constexpr T Max
(
    const T A,
    const T B
)

Remarks

Returns higher value in a generic way