I'd like to be able to chain together these Functors:
Loki::Functor<void, LOKI_TYPELIST_1(int)> c1(pDog, &Dog::RollOver); Loki::Functor<void, LOKI_TYPELIST_1(std::string)> c2(pDog, &Dog::Listen);
but when I try
Loki::Functor<void, LOKI_TYPELIST_1(std::string)> cmd34(Loki::Chainer<foo, foo> (c1, c2));
I can't make the compiler happy. Is this possible?
Log in to post a comment.
I'd like to be able to chain together these Functors:
Loki::Functor<void, LOKI_TYPELIST_1(int)> c1(pDog, &Dog::RollOver);
Loki::Functor<void, LOKI_TYPELIST_1(std::string)> c2(pDog, &Dog::Listen);
but when I try
Loki::Functor<void, LOKI_TYPELIST_1(std::string)> cmd34(Loki::Chainer<foo, foo> (c1, c2));
I can't make the compiler happy. Is this possible?