scim_bind.h File Reference

Binding adapters. More...

## Classes

class | scim::BoundSlot0_1< R, P1 >
| Converts a slot taking one argument into a slot taking no arguments. More...
class | scim::BoundSlot1_2< R, P1, P2 >
| Converts a slot taking two arguments into a slot taking one argument. More...
class | scim::BoundSlot2_3< R, P1, P2, P3 >
| Converts a slot taking three arguments into a slot taking two arguments. More...
class | scim::BoundSlot3_4< R, P1, P2, P3, P4 >
| Converts a slot taking four arguments into a slot taking three arguments. More...
class | scim::BoundSlot4_5< R, P1, P2, P3, P4, P5 >
| Converts a slot taking five arguments into a slot taking four arguments. More...
class | scim::BoundSlot5_6< R, P1, P2, P3, P4, P5, P6 >
| Converts a slot taking six arguments into a slot taking five arguments. More...

## Namespaces

namespace | scim

## Functions

Bind functions returning a new BoundSlot.
template<typename R, typename P1>
Slot0< R > * | scim::bind (Slot1< R, P1 > *s, P1 p1)
template<typename R, typename P1, typename P2>
Slot1< R, P1 > * | scim::bind (Slot2< R, P1, P2 > *s, P2 p2)
template<typename R, typename P1, typename P2, typename P3>
Slot2< R, P1, P2 > * | scim::bind (Slot3< R, P1, P2, P3 > *s, P3 p3)
template<typename R, typename P1, typename P2, typename P3, typename P4>
Slot3< R, P1, P2, P3 > * | scim::bind (Slot4< R, P1, P2, P3, P4 > *s, P4 p4)
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5>
Slot4< R, P1, P2, P3, P4 > * | scim::bind (Slot5< R, P1, P2, P3, P4, P5 > *s, P5 p5)
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
Slot5< R, P1, P2, P3, P4, P5 > * | scim::bind (Slot6< R, P1, P2, P3, P4, P5, P6 > *s, P6 p6)

## Detailed Description

Binding adapters.

A binding adaptor is an object that allows you to convert between slot types. Usually you wont use a BoundSlot directly but instead call the bind() factory function (similiar to the slot() factory function) which will create an appropriate bound slot for you, depending on the parameters passed.

Most code of this file are came from Inti project.