Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::DATA_FORALL Macro
C++
#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))&&(v); (i)++ )

This is macro sack::containers::DATA_FORALL.

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