Re: [sigc] Range over signals
- From: Dick Eimers <d eimers marin nl>
- To: libsigc-list gnome org
- Subject: Re: [sigc] Range over signals
- Date: Wed, 30 Nov 2005 08:52:20 +0100
> People do get obsessed with optimisation, yes. But, anyway, we couldn't
> change this now, without breaking ABI.
All very true.
> I suggest that you
> a) Store a second piece of information alongside each signal,
> identifying the signal type.
> b) Use static_cast<>, after you've discovered what the type is.
Since the types provided as template parameters to class template
sigc::signal#<> is a compile-time notion, this can only work if some
predefined set of signal instantiations is used and hence not a very
flexible solution. But hopefully I am wrong.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]