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::Number_impl< _base, _digit, _digits > Struct Template Reference

recursive struct that builds the number More...

#include <number_parser.h>

Public Types

using digit = Digit< base, _digit >
 
using recursive_number = Number_impl< _base, _digits... >
 

Static Public Attributes

static constexpr std::intmax_t base = _base
 
static constexpr std::intmax_t magnitude
 
static constexpr std::intmax_t power = Power<base, _digit, _digits...>::power
 
static constexpr std::intmax_t value
 

Detailed Description

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

recursive struct that builds the number

Member Typedef Documentation

◆ digit

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

◆ recursive_number

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

Member Data Documentation

◆ base

template<std::intmax_t _base, char _digit, char... _digits>
constexpr std::intmax_t SI::detail::parsing::Number_impl< _base, _digit, _digits >::base = _base
staticconstexpr

◆ magnitude

template<std::intmax_t _base, char _digit, char... _digits>
constexpr std::intmax_t SI::detail::parsing::Number_impl< _base, _digit, _digits >::magnitude
staticconstexpr
Initial value:
=
Magnitude<_base, _digit, _digits...>::value
static constexpr std::intmax_t value
Definition: number_parser.h:91

◆ power

template<std::intmax_t _base, char _digit, char... _digits>
constexpr std::intmax_t SI::detail::parsing::Number_impl< _base, _digit, _digits >::power = Power<base, _digit, _digits...>::power
staticconstexpr

◆ value

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

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