bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::IntegralRange< s, e > Struct Template Reference

A range of integer values in [s, e]. More...

#include <bitsim_types.h>

Public Types

using value_type = uint_t

Static Public Attributes

static constexpr uint_t S = s
static constexpr uint_t E = e
static constexpr uint_t size = e - s

Detailed Description

template<uint_t s, uint_t e>
struct bitsim::IntegralRange< s, e >

A range of integer values in [s, e].

Member Typedef Documentation

◆ value_type

template<uint_t s, uint_t e>
using bitsim::IntegralRange< s, e >::value_type = uint_t

Member Data Documentation

◆ E

template<uint_t s, uint_t e>
uint_t bitsim::IntegralRange< s, e >::E = e
staticconstexpr

◆ S

template<uint_t s, uint_t e>
uint_t bitsim::IntegralRange< s, e >::S = s
staticconstexpr

◆ size

template<uint_t s, uint_t e>
uint_t bitsim::IntegralRange< s, e >::size = e - s
staticconstexpr

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