NoAvailableAlias / nano-signal-slot

Pure C++17 Signals and Slots
MIT License
407 stars 60 forks source link

rvalue parameters are only available to the first slot #37

Open kaveish opened 1 year ago

kaveish commented 1 year ago

Due to perfect forwarding, rvalue parameters are moved to the first slot on fire, leaving them invalidated for other slots.

Is this intended? A fix could involve only perfect forwarding to the final slot, but I'm not sure if there is another solution available.