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

#include <integer.hpp>

Public Types

using type = typename integer_traits< T >::type
 

Static Public Member Functions

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

Static Public Attributes

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, T Max>
struct lexy::integer_traits< bounded< T, Max > >

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

Member Typedef Documentation

◆ type

template<typename T , T Max>
using lexy::integer_traits< bounded< T, Max > >::type = typename integer_traits<T>::type

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

Member Function Documentation

◆ add_digit_checked()

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

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

◆ add_digit_unchecked()

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

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

Member Data Documentation

◆ is_bounded

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

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

◆ max_digit_count

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

Definition at line 196 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