SI  2.5.4
A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units.
Public Types | Static Public Attributes | List of all members
SI::detail::parsing::Power_impl< _base, _digit, _digits > Struct Template Reference

#include <number_parser.h>

Public Types

using digit = Digit< _base, _digit >
 
using recursive_power = Power_impl< _base, _digits... >
 

Static Public Attributes

static constexpr std::intmax_t power
 

Detailed Description

template<std::intmax_t _base, char _digit, char... _digits>
struct SI::detail::parsing::Power_impl< _base, _digit, _digits >

Struct containing a power to a base; used as multiplicator of each position in a number

Member Typedef Documentation

◆ digit

template<std::intmax_t _base, char _digit, char... _digits>
using SI::detail::parsing::Power_impl< _base, _digit, _digits >::digit = Digit<_base, _digit>

◆ recursive_power

template<std::intmax_t _base, char _digit, char... _digits>
using SI::detail::parsing::Power_impl< _base, _digit, _digits >::recursive_power = Power_impl<_base, _digits...>

Member Data Documentation

◆ power

template<std::intmax_t _base, char _digit, char... _digits>
constexpr std::intmax_t SI::detail::parsing::Power_impl< _base, _digit, _digits >::power
staticconstexpr
Initial value:
static constexpr bool is_valid_digit
Definition: number_parser.h:29
static constexpr std::intmax_t power
Definition: number_parser.h:49

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