Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IsInitializerList.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include <initializer_list>
6
7/**
8 * Traits class which tests if a type is an initializer list.
9 */
10template <typename T>
12{
13 static constexpr bool Value = false;
14};
15
16template <typename T>
17struct TIsInitializerList<std::initializer_list<T>>
18{
19 static constexpr bool Value = true;
20};
21
22template <typename T> struct TIsInitializerList<const T> { enum { Value = TIsInitializerList<T>::Value }; };
23template <typename T> struct TIsInitializerList< volatile T> { enum { Value = TIsInitializerList<T>::Value }; };
24template <typename T> struct TIsInitializerList<const volatile T> { enum { Value = TIsInitializerList<T>::Value }; };
Definition json.hpp:4518
static constexpr bool Value