|
Simbody
3.6
|
Specialization of ArrayIndexTraits for bool used as an index.
More...
Public Types | |
| typedef unsigned char | size_type |
| typedef signed char | difference_type |
Static Public Member Functions | |
| static size_type | max_size () |
Specialization of ArrayIndexTraits for bool used as an index.
OK, this seems unlikely but it works fine – you get a container that can hold only two elements indexed by either false (0) or true (1). You'll get warnings if you try to index with an ordinary int. If anyone finds a legitimate use for this, please post to the forum and let us know!
| typedef unsigned char SimTK::ArrayIndexTraits< bool >::size_type |
| typedef signed char SimTK::ArrayIndexTraits< bool >::difference_type |
|
inlinestatic |