BoundSlot< R, Tuple, Indices > Class Template Reference

#include <Pt/SlotBind.h>

Slot produced by binding a final argument to another slot. More...

Inherits SlotBase< R, Tuple, Indices >.

Related Functions

template<typename R , typename... As, typename T >
SigSlotDetail::BoundSlotTraits< R, std::tuple< As... > >::Type slot (const BasicSlot< R, As... > &slot, const T &arg)
 Binds the final argument of a slot to a copied value. More...
 

Detailed Description

template<typename R, typename Tuple, typename Indices>
class Pt::BoundSlot< R, Tuple, Indices >

The bound argument is copied. The resulting slot accepts all original arguments except the final one.

Friends And Related Function Documentation

◆ slot()

SigSlotDetail::BoundSlotTraits< R, std::tuple< As... > >::Type slot ( const BasicSlot< R, As... > &  slot,
const T &  arg 
)
related

Repeatedly binding the result produces a slot with one fewer argument each time, including a zero-argument slot.