Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
type_traits.hpp File Reference

Classes

struct  mundy::contains_type< T, Ts >
 Check if a type is in a variadic list of types. More...
struct  mundy::count_type< T, Types >
 Count how many times a type appears in a variadic list of types. More...
struct  mundy::index_finder< T >
struct  mundy::index_finder< T, First, Rest... >
struct  mundy::type_at_index< I, Head, Tail... >
struct  mundy::type_at_index< 0, Head, Tail... >

Namespaces

namespace  mundy

Typedefs

template<size_t I, class... Ts>
using mundy::type_at_index_t = typename type_at_index<I, Ts...>::type

Variables

template<class T, class... Ts>
static constexpr bool mundy::contains_type_v = contains_type<T, Ts...>::value
template<class T, class... Types>
static constexpr size_t mundy::count_type_v = count_type<T, Types...>::value
template<class T, class... Ts>
static constexpr size_t mundy::index_finder_v = index_finder<T, Ts...>::value