How would you implement multicast for TR1 functors? I have my callback slots implemented like
void setCallback(std::tr1::function<void (std::string)> cb)
{
this->callback = cb;
}
but need to pass more than one callback in one of them. I don't want to go into more complex solutions like observer, as this is the only case I need multicast so far. I also cannot use Boost.Signals (as suggested here), because I cannot use Boost. I don't need to explicitly handle disabling callback when subscriber no longer exist.