#include <type_traits>
Go to the source code of this file.
Classes | |
struct | jrl::qp::internal::is_base< Base > |
class | jrl::qp::internal::always_true< T > |
class | jrl::qp::internal::always_false< T > |
struct | jrl::qp::internal::identity |
struct | jrl::qp::internal::to_underlying_type |
Namespaces | |
jrl | |
jrl::qp | |
jrl::qp::internal | |
Typedefs | |
template<typename T , typename... Base> | |
using | jrl::qp::internal::enable_for_t = std::enable_if_t<(...||(std::is_same_v< T, Base >||derives_from< T, Base >())), int > |
template<typename T , template< typename... > class... Base> | |
using | jrl::qp::internal::enable_for_templated_t = std::enable_if_t<(...||derives_from< T, Base >()), int > |
template<typename T > | |
using | jrl::qp::internal::cast_as_underlying_if_enum = std::conditional_t< std::is_enum_v< T >, to_underlying_type, identity > |
Functions | |
template<typename T , template< typename... > class Base> | |
constexpr bool | jrl::qp::internal::derives_from () |