BoundSlot< R, Tuple, Indices > Class Template Reference

#include <Pt/SlotBind.h>

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

(Note that these are not member symbols.)

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.

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.

◆ slot()

template<typename R, typename... As, typename T>
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.