Reactions  0.1.1
Handling reaction trees and decays
Public Types | Public Member Functions | List of all members
reactions::fill< Args > Struct Template Reference

Small structure to define fields without explicitely knowing its type. More...

#include <fields.hpp>

Inheritance diagram for reactions::fill< Args >:
Inheritance graph
[legend]
Collaboration diagram for reactions::fill< Args >:
Collaboration graph
[legend]

Public Types

using base_type = std::tuple< Args... >
 Build the class from the contents. More...
 

Public Member Functions

constexpr fill (Args &&... args)
 
- Public Member Functions inherited from std::tuple< Args... >
operator= (T... args)
 
swap (T... args)
 
tuple (T... args)
 

Detailed Description

template<class... Args>
struct reactions::fill< Args >

Small structure to define fields without explicitely knowing its type.

This class serves as an interface, forwarding its contents. Any class which represents a field must define a constructor from this type.

Member Typedef Documentation

◆ base_type

template<class... Args>
using reactions::fill< Args >::base_type = std::tuple<Args...>

Build the class from the contents.

Constructor & Destructor Documentation

◆ fill()

template<class... Args>
constexpr reactions::fill< Args >::fill ( Args &&...  args)
inline

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