config concept
More...
#include <config.h>
template<typename T>
{
typename std::decay_t<T>::Config;
typename std::decay_t<T>::Value;
typename std::decay_t<T>::Spectrum;
{ std::decay_t<T>::wavelength() } -> std::same_as<typename std::decay_t<T>::Spectrum>;
requires std::same_as<typename std::decay_t<T>::Config, std::decay_t<T>>;
}
config concept
Definition: config.h:31
A named class is a class that contains a static constexpr string_literal name.
Definition: named.h:19
config concept
Each config struct contains:
- concepts::named
- a Config typedef that points to itself
- a Value typedef
- a Spectrum typedef
- static Spectrum wavelength() that returns a Spectrum-type with the wavelength in each channel in nm.