Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::DATA_NEXTALL Macro
C++
#define DATA_NEXTALL( l, i, t, v ) if(((v)=(t)NULL),(l))   \
    for( ((i)++);                         \
    ((i) < (l)->Cnt)                                    \
         ?((v)=(t)((l)->data + (((l)->Size) * (i))))   \
          :(((v)=(t)NULL),0); (i)++ )

#define DATA_FORALL( l, i, t, v ) if(((v)=(t)NULL),(l)&&((l)->Cnt != INVALID_INDEX)) for( ((i)=0); ((i) < (l)->Cnt) ?(((v)=(t)((l)->data + (PTRSZVAL)(((l)->Size) * (i)))),1) :(((v)=(t)NULL),0)); (i)++ )

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