2 #ifndef __RB_TREE_FUNCTORS_H_
3 #define __RB_TREE_FUNCTORS_H_
5 #include "ace/Functor.h"
12 KeyType () : val_(0) {}
13 KeyType (int i
) : val_ (i
) {}
14 KeyType (const KeyType
& kt
) { this->val_
= kt
.val_
; }
15 operator int() const { return val_
; };
21 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
24 class ACE_Less_Than
<KeyType
>
27 int operator() (const KeyType k1
, const KeyType k2
)
31 ACE_END_VERSIONED_NAMESPACE_DECL
35 #endif /* __RB_TREE_FUNCTORS_H_ */