TrinityCore
Loading...
Searching...
No Matches
Types.h File Reference
#include <type_traits>
+ Include dependency graph for Types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Trinity::find_type_result< HasType, T >
 
struct  Trinity::find_type_result< false, T >
 
struct  Trinity::dependant_false< T >
 

Namespaces

namespace  Trinity
 
namespace  Trinity::Impl
 

Typedefs

template<template< typename... > typename Check, typename... Ts>
using Trinity::find_type_in_list_if = decltype(Impl::find_type_in_list_if_impl< Check, Ts... >())
 

Functions

template<template< typename > typename Check, typename T , typename... Ts>
consteval auto Trinity::Impl::find_type_in_list_if_impl ()
 

Variables

template<typename T , typename... Us>
constexpr bool Trinity::has_type_in_list_v = std::disjunction_v<std::is_same<T, Us>...>
 
template<typename T >
constexpr bool Trinity::dependant_false_v = dependant_false<T>::value