SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::equations::Contributions< T, std::void_t< decltype(std::declval< const T & >().contributions())> > Struct Template Reference

Specialization of Contributions for types that have the contributions() method. More...

#include <contributions.hpp>

Inheritance diagram for serif::equations::Contributions< T, std::void_t< decltype(std::declval< const T & >().contributions())> >:
[legend]
Collaboration diagram for serif::equations::Contributions< T, std::void_t< decltype(std::declval< const T & >().contributions())> >:
[legend]

Public Types

using type
 tuple of whatever is T
 
- Public Types inherited from serif::equations::ContributionTuple< std::remove_cvref_t< decltype(std::declval< const T & >().contributions())> >
using type
 The default type is void, indicating that the contributions are not valid.
 

Detailed Description

template<typename T>
struct serif::equations::Contributions< T, std::void_t< decltype(std::declval< const T & >().contributions())> >

Specialization of Contributions for types that have the contributions() method.

Todo
Replace SFINAE with requires or concepts if possible. This would make the code more readable and easier to understand.

Member Typedef Documentation

◆ type

using serif::equations::Contributions< T, typename >::type

tuple of whatever is T


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