
20 Oct
2007
20 Oct
'07
5:28 a.m.
Stjepan Rajko wrote:
template<> struct operation_impl<some_producer_tag, some_consumer_tag> { // specify result type using result_type typedef or template<> struct result // ...
template<typename P, typename C> some_result_type operator()(P &p, C &c) { ... }; };
FWIW, this can have data members, which `operator()` can access. Regards, -- Shunsuke Sogame