Reactions  0.1.0
Handling reaction trees and decays
Namespaces | Classes | Variables
reactions::utils Namespace Reference

General utilities. More...

Namespaces

 detail
 Internal utilities for the reactions::utils namespace.
 

Classes

struct  dependent_false
 A false type that can be used with static_assert More...
 
struct  is_template_specialization
 Check whether a type is a specialization of a template. More...
 
struct  is_template_specialization< Template< T... >, Template >
 Check whether a type is a specialization of a template. More...
 
struct  tuple_index
 Index corresponding to a given element. More...
 

Variables

template<class T >
static constexpr auto dependent_false_v = dependent_false<T>::value
 A false type that can be used with static_assert More...
 
template<class E , class Tuple >
static constexpr auto tuple_index_v = tuple_index<E, Tuple>::value
 Index corresponding to a given element. More...
 
template<class Type , template< class... > class Template>
static constexpr auto is_template_specialization_v
 

Detailed Description

General utilities.

Variable Documentation

◆ dependent_false_v

template<class T >
constexpr auto reactions::utils::dependent_false_v = dependent_false<T>::value
static

A false type that can be used with static_assert

◆ is_template_specialization_v

template<class Type , template< class... > class Template>
constexpr auto reactions::utils::is_template_specialization_v
static
Initial value:
=
is_template_specialization<Type, Template>::value

◆ tuple_index_v

template<class E , class Tuple >
constexpr auto reactions::utils::tuple_index_v = tuple_index<E, Tuple>::value
static

Index corresponding to a given element.