Public Types | Static Public Member Functions | Static Public Attributes | List of all members
lexy::integer_traits< T > Struct Template Reference

#include <integer.hpp>

Public Types

using type = T
 

Static Public Member Functions

template<int Radix>
static constexpr bool add_digit_checked (T &result, unsigned digit)
 
template<int Radix>
static constexpr void add_digit_unchecked (T &result, unsigned digit)
 

Static Public Attributes

static constexpr auto _max
 
static constexpr auto is_bounded = true
 
template<int Radix>
static constexpr std::size_t max_digit_count = _digit_count(Radix, _max)
 

Detailed Description

template<typename T>
struct lexy::integer_traits< T >

Definition at line 35 of file dsl/integer.hpp.

Member Typedef Documentation

◆ type

template<typename T >
using lexy::integer_traits< T >::type = T

Definition at line 37 of file dsl/integer.hpp.

Member Function Documentation

◆ add_digit_checked()

template<typename T >
template<int Radix>
static constexpr bool lexy::integer_traits< T >::add_digit_checked ( T &  result,
unsigned  digit 
)
inlinestaticconstexpr

Definition at line 94 of file dsl/integer.hpp.

◆ add_digit_unchecked()

template<typename T >
template<int Radix>
static constexpr void lexy::integer_traits< T >::add_digit_unchecked ( T &  result,
unsigned  digit 
)
inlinestaticconstexpr

Definition at line 88 of file dsl/integer.hpp.

Member Data Documentation

◆ _max

template<typename T >
constexpr auto lexy::integer_traits< T >::_max
staticconstexpr

Definition at line 41 of file dsl/integer.hpp.

◆ is_bounded

template<typename T >
constexpr auto lexy::integer_traits< T >::is_bounded = true
staticconstexpr

Definition at line 39 of file dsl/integer.hpp.

◆ max_digit_count

template<typename T >
template<int Radix>
constexpr std::size_t lexy::integer_traits< T >::max_digit_count = _digit_count(Radix, _max)
staticconstexpr

Definition at line 85 of file dsl/integer.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09