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

Go to the source code of this file.

Namespaces

namespace  Trinity
 
namespace  Trinity::Impl
 

Typedefs

template<typename... Ts>
using Trinity::is_tuple_t = std::bool_constant< is_tuple_v< Ts... > >
 
template<typename T , typename... Us>
using Trinity::tuple_has_type_t = std::bool_constant< tuple_has_type_v< T, Us... > >
 

Functions

template<class T , class Tuple , size_t... I>
T * Trinity::Impl::new_from_tuple (Tuple &&args, std::index_sequence< I... >)
 
template<class T , class Tuple >
T * Trinity::new_from_tuple (Tuple &&args)
 

Variables

template<typename... Ts>
constexpr bool Trinity::is_tuple_v = false
 
template<typename T , typename... Us>
constexpr bool Trinity::tuple_has_type_v = false
 
template<std::size_t I>
constexpr auto Trinity::TupleElement = []<typename Tuple>(Tuple&& tuple) constexpr -> decltype(auto) { return std::get<I>(std::forward<Tuple>(tuple)); }