ispringtech / FastSignals

Easy to use, fast and lightweight C++17 signals and slots library, drop-in replacement for the Boost.Signals2
MIT License
25 stars 10 forks source link

Combiners should be template template parameters #2

Closed sergey-shambir closed 6 years ago

sergey-shambir commented 6 years ago

Template template parameters will help to avoid suck tricks:

template <
    typename Signature,
    typename Combiner = BoostOptionalLastValue<typename is::signals::signature_result_t<Signature>>>
using Signal = is::signals::signal<Signature, Combiner>;