CommonLib
Loading...
Searching...
No Matches
Expressions.h
Go to the documentation of this file.
1#pragma once
2
3#include <tuple>
4#include <type_traits>
5
6namespace hedgedev::csl::ut::expr
7{
8 template <size_t Index, typename... TArgs>
9 using GetPackType = std::tuple_element_t<Index, std::tuple<TArgs...>>;
10
11 template <class T, typename = std::enable_if_t<std::is_enum_v<T>>>
12 inline constexpr bool HasFlag(T in_mask, T in_flag);
13
14 template <typename T, typename... TArgs>
16}
17
18#include "Expressions.inl"
19#include "StringTypes.h"
#define ASSERT_RETURN(CONDITION, RETURN_VALUE)
Definition Preprocessor.h:17
bool IsNeighbour(const std::filesystem::path &in_rPath)
Definition ThisProcess.inl:10
std::filesystem::path GetExecutableRoot()
Definition ThisProcess.inl:5
Definition ThisProcess.inl:4
std::tuple_element_t< Index, std::tuple< TArgs... > > GetPackType
Definition Expressions.h:9
constexpr bool IsAllSame
Definition Expressions.h:15
Definition Expressions.inl:2