Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::RelinkThing Macro
C++
#define RelinkThing( root, node ) \
    ((( node->me && ( (*node->me)=node->next ) )?  \
    node->next->me = node->me:0),(node->next = NULL),(node->me = NULL),node), \
    ((( node->next = root )?        \
    (root->me = &node->next):0),  \
    (node->me = &root),             \
    (root = node) )

This is macro sack::RelinkThing.

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