typedef size_t INDEX;
an unsigned type meant to index arrays. (By convention, arrays are not indexed negatively.) An index which is not valid is INVALID_INDEX, which equates to 0xFFFFFFFFUL or negative one cast as an INDEX... ((INDEX)-1).
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|