signal return values
Darren V Hart <[email protected]> Thu, 25 Sep 2003 08:18:14 -0600
| Newsgroups | gmane.comp.embedded.stk.gui.devel |
|---|---|
| Message-ID | <1064499494.30104.9.camel@brain> |
All our signals currently return bool and make use of that fancy combiner model provided by boost. The return val is making it difficult to use methods that return void. I like the idea of having signals return bool, but so far, wrapping void methods has been a pain and the current syntax is ugly and non-intuitive. So, how important is it for the signals to return bool? Could they just return void? How much would that impact user and the development of libstk apps. Ideally, we would come up with an elegant wrapper to change the return value of any void method (with any number of args) to true. Darren