Predicate wrapper to act on node pointers. More...
#include <CSCompositeSkipList.h>
Public Member Functions | |
| XDerefT (const Pr &pred) | |
| Custom constructor. | |
| bool | operator() (const T &a, const T &b) const |
| Activate predicate method. | |
Private Member Functions | |
| XDerefT () | |
| Default constructor is not available. | |
Private Attributes | |
| Pr | pred |
| Original predicate. | |
Predicate wrapper to act on node pointers.
INTERNAL USE ONLY!!!
Original predicate must work on the type of the element.
| T | Node type. |
| Pr | Original predicate to apply to elements of nodes. |
Custom constructor.
Constructs a predicate wrapper that works on nodes. Original predicate must work on the type of the element.
| pred | Original predicate to apply to nodes. |
| bool XDerefT< T, Pr >::operator() | ( | const T & | a, |
| const T & | b | ||
| ) | const [inline] |
Activate predicate method.
| a | First node. |
| b | Second node. |
1.7.3