
24 May
2007
24 May
'07
7:47 a.m.
Date: Wed, 23 May 2007 17:29:12 +0000 (UTC) From: Jared McIntyre <jmcintyre@dfsoftware.com>
I can't really say whether it belongs in the slots and signals library, but it certainly has a great deal of utility. It would be particularly interesting if you could figure out a way to expose other operators if they were supported by the wrapped type. So if it is a number, you could do +=, etc.
I think this is doable. Free functions such as operators will work automatically thanks to implicit type conversion. Explicit type conversion to an observable_value, let's call it that for now, shold be disabled by makin the constructor explicit. Any other thoughts on what might be wanted for such a library?