Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::sets::AllUsed Macro
C++
#define AllUsed(set,n) (((set)->bUsed[UNIT_USED_IDX(n)]) == 0xFFFFFFFF )
Parameters 
Description 
set 
pointer to a genericset 
index 
index of an one in the set of 32 being tested. 

0 if not all are used. 

1 if all in this block of bits are used.

A macro for use by internal code that tests a whole set of bits for used. (32 bits, can check to see if any in 32 is free)

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!