Re: [sigc] slots without functors



forget everything i wrote :)

the real problem seems to be in slot.h:

template<class T_functor, class T_return>
struct slot_call0
{
	...
	static T_return call_it(slot_rep* rep)
	{ ...
	  return (typed_rep->functor_)();
        }
}

this isn't legal if T_return is void (return-statement with a value in
function returning void).

any ideas?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]