Re: [sigc] slots without functors
- From: Paul Davis <paul linuxaudiosystems com>
- To: libsigc-list gnome org
- Subject: Re: [sigc] slots without functors
- Date: Mon, 26 Sep 2005 13:34:47 -0400
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]