Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
mundy::contains_type< T, Ts > Struct Template Reference

Check if a type is in a variadic list of types.

#include <type_traits.hpp>

Static Public Attributes

static constexpr bool value = (std::is_same_v<T, Ts> || ...)

Member Data Documentation

◆ value

template<class T, class... Ts>
bool mundy::contains_type< T, Ts >::value = (std::is_same_v<T, Ts> || ...)
staticconstexpr