Reactions  0.1.2
Handling reaction trees and decays
Classes | Namespaces | Variables
utils.hpp File Reference

Functions and structs to handle templated types. More...

#include <tuple>
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  reactions::utils::dependent_false< T >
 A false type that can be used with static_assert More...
 
struct  reactions::utils::detail::tuple_index< I, Tuple, E0, E1 >
 Index corresponding to a given element. More...
 
struct  reactions::utils::detail::tuple_index< I, Tuple, E, E >
 Index corresponding to a given element. More...
 
struct  reactions::utils::tuple_index< E, Tuple >
 Index corresponding to a given element. More...
 
struct  reactions::utils::is_template_specialization< Type, Template >
 Check whether a type is a specialization of a template. More...
 
struct  reactions::utils::is_template_specialization< Template< T... >, Template >
 Check whether a type is a specialization of a template. More...
 

Namespaces

 reactions::utils
 General utilities.
 
 reactions::utils::detail
 Internal utilities for the reactions::utils namespace.
 

Variables

template<class T >
static constexpr auto reactions::utils::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 reactions::utils::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 reactions::utils::is_template_specialization_v
 

Detailed Description

Functions and structs to handle templated types.