flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
flexiblesusy::cxx_diagrams::detail::number_of_field_indices< Field > Struct Template Reference

Declare a metafunction that gives the int value for Field during compilation time or int_<int N> typename of this index. More...

#include <fields.hpp>

Collaboration diagram for flexiblesusy::cxx_diagrams::detail::number_of_field_indices< Field >:
Collaboration graph

Public Types

using type = boost::mpl::int_< value >
 

Static Public Attributes

static constexpr int value
 

Detailed Description

template<class Field>
struct flexiblesusy::cxx_diagrams::detail::number_of_field_indices< Field >

Declare a metafunction that gives the int value for Field during compilation time or int_<int N> typename of this index.

Returns
::value gives compile time integer value.
::type gives int_<int N> typename.

Definition at line 65 of file fields.hpp.

Member Typedef Documentation

◆ type

template<class Field >
using flexiblesusy::cxx_diagrams::detail::number_of_field_indices< Field >::type = boost::mpl::int_<value>

Definition at line 68 of file fields.hpp.

Member Data Documentation

◆ value

template<class Field >
constexpr int flexiblesusy::cxx_diagrams::detail::number_of_field_indices< Field >::value
staticconstexpr
Initial value:
=
std::tuple_size<typename field_indices<Field>::type>::value

Definition at line 66 of file fields.hpp.


The documentation for this struct was generated from the following file: