Simbody
3.7
|
Specialization of ArrayIndexTraits for unsigned
char
used as an index.
More...
Public Types | |
typedef unsigned char | size_type |
typedef short | difference_type |
Static Public Member Functions | |
static size_type | max_size () |
Specialization of ArrayIndexTraits for unsigned
char
used as an index.
Here we don't have any bits to spare and we want to use the full max size of 255. The max index must then be 254, so the difference_type must hold -254..254 which takes a short.
typedef unsigned char SimTK::ArrayIndexTraits< unsigned char >::size_type |
typedef short SimTK::ArrayIndexTraits< unsigned char >::difference_type |
|
inlinestatic |