SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::dependencies::detail::Result< T > Struct Template Reference

Computations publish owned, movable values, either directly or through std::expected. More...

#include <result.hpp>

Public Types

using Value = T
 
using Error = void
 

Static Public Attributes

static constexpr bool fallible = false
 
static constexpr bool valid = std::is_object_v<T> && std::move_constructible<T>
 

Detailed Description

template<typename T>
struct serif::utils::dependencies::detail::Result< T >

Computations publish owned, movable values, either directly or through std::expected.

Member Typedef Documentation

◆ Error

template<typename T>
using serif::utils::dependencies::detail::Result< T >::Error = void

◆ Value

template<typename T>
using serif::utils::dependencies::detail::Result< T >::Value = T

Member Data Documentation

◆ fallible

template<typename T>
bool serif::utils::dependencies::detail::Result< T >::fallible = false
staticconstexpr

◆ valid

template<typename T>
bool serif::utils::dependencies::detail::Result< T >::valid = std::is_object_v<T> && std::move_constructible<T>
staticconstexpr

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