UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IsValidVariadicFunctionArg.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6#include "IsEnum.h"
7#include <type_traits>
8
12template <typename T>
14{
15private:
16 using DecayedT = std::decay_t<T>;
17
18public:
19 static constexpr bool Value =
20 std::is_enum_v <DecayedT> ||
21 std::is_arithmetic_v<DecayedT> ||
22 std::is_pointer_v <DecayedT> ||
23 std::is_same_v <DecayedT, TYPE_OF_NULLPTR>;
24};
Definition IsValidVariadicFunctionArg.h:14
static constexpr bool Value
Definition IsValidVariadicFunctionArg.h:19