|
scim
1.4.13
|
Converts a slot taking two arguments into a slot taking one argument. More...
#include <scim_bind.h>
Public Member Functions | |
| BoundSlot1_2 (Slot2< R, P1, P2 > *slot, P2 p2) | |
| virtual R | call (P1 p1) const |
| Calls the original slot passing it argument p1 and the bound argument p as the last parameter. | |
Converts a slot taking two arguments into a slot taking one argument.
| scim::BoundSlot1_2< R, P1, P2 >::BoundSlot1_2 | ( | Slot2< R, P1, P2 > * | slot, |
| P2 | p2 | ||
| ) | [inline] |
Constructor.
| slot | - a pointer to a slot of type Slot1<R, P1, P2>. |
| p2 | - a bound argument of type P2 |
| virtual R scim::BoundSlot1_2< R, P1, P2 >::call | ( | P1 | p1 | ) | const [inline, virtual] |
Calls the original slot passing it argument p1 and the bound argument p as the last parameter.
Implements scim::Slot1< R, P1 >.