Itoyori  v0.0.1
ityr::reducer::one< T > Struct Template Reference

#include <reducer.hpp>

Public Types

using value_type = T
 

Public Member Functions

constexpr operator value_type () noexcept
 
constexpr value_type operator() () const noexcept
 

Static Public Attributes

static constexpr T value = T{1}
 

Member Typedef Documentation

◆ value_type

template<typename T >
using ityr::reducer::one< T >::value_type = T

Member Function Documentation

◆ operator value_type()

template<typename T >
constexpr ityr::reducer::one< T >::operator value_type ( )
inlineconstexprnoexcept

◆ operator()()

template<typename T >
constexpr value_type ityr::reducer::one< T >::operator() ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ value

template<typename T >
constexpr T ityr::reducer::one< T >::value = T{1}
staticconstexpr

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