Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::BinaryTree::GenericCompare Type
C++
typedef int (__cdecl * GenericCompare)(PTRSZVAL oldnode,PTRSZVAL newnode);

Generic Compare is the type declaration for the callback routine for user custom comparisons. This routine should return -1 if new is less than old, it should return 1 if new is more than old, and it should return 0 if new and old are the same key.

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