Nui
Loading...
Searching...
No Matches
is_tuple.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <tuple>
4#include <type_traits>
5
6namespace Nui
7{
8 template <typename T>
9 struct IsTuple
10 {
11 static constexpr bool value = false;
12 };
13 template <typename... Ts>
14 struct IsTuple<std::tuple<Ts...>>
15 {
16 static constexpr bool value = true;
17 };
18 template <typename T>
19 constexpr bool IsTuple_v = IsTuple<std::decay_t<T>>::value;
20}
Definition file_dialog.hpp:6
constexpr bool IsTuple_v
Definition is_tuple.hpp:19
Definition is_tuple.hpp:10
static constexpr bool value
Definition is_tuple.hpp:11