Simbody
3.7
|
Specialization of ArrayIndexTraits for (signed) short
used as an index.
More...
Public Types | |
typedef short | size_type |
typedef short | difference_type |
Static Public Member Functions | |
static size_type | max_size () |
Specialization of ArrayIndexTraits for (signed) short
used as an index.
In contrast to unsigned short, here the max size is 32767 so the index difference range -32766..+32766 still fits in a short so we don't need a wider type for difference_type.
typedef short SimTK::ArrayIndexTraits< short >::size_type |
typedef short SimTK::ArrayIndexTraits< short >::difference_type |
|
inlinestatic |