◆ comp
int(* BST::comp) (uint64_t, uint64_t) |
(pointer to a function) compare two data, represented by uint64_t, mentioned in tree_node::data}
- Attention
- receiveing two uint64_t doesn't promise you can straightly compare the numeric value of them, but you should specify a rule to compare them
- Returns
- (0) if two data fields equal
-
(int > 0) if the first data field is greater than the second one
-
(int < 0) if the first data field is smaller than the second one
The documentation for this struct was generated from the following file: