Simbody
3.7
|
Specialization of ArrayIndexTraits for signed
char
used as an index.
More...
Public Types | |
typedef signed char | size_type |
typedef signed char | difference_type |
Static Public Member Functions | |
static size_type | max_size () |
Specialization of ArrayIndexTraits for signed
char
used as an index.
In contrast with the unsigned char case which allows 255 elements, the max size here is 127 meaning the max index is 126 and the difference range is -126..126 which still fits in a signed char so we don't need a wider type for difference_type.
typedef signed char SimTK::ArrayIndexTraits< signed char >::size_type |
typedef signed char SimTK::ArrayIndexTraits< signed char >::difference_type |
|
inlinestatic |