[LAD] Looking for an introduction to rt programming with a gui

Joshua D. Boyd jdboyd at jdboyd.net
Mon May 24 02:04:50 UTC 2010


On 05/23/10 17:14, Olivier Guilyardi wrote:
> On 05/23/2010 10:22 PM, Chris Cannam wrote:
>
> [...]
>
>> ... by which I don't mean to imply that I can't understand it
>> (although, with C++, there is always the possibility that I _think_ I
>> can understand it but am sadly mistaken because of some weird shit
>> happening behind the scenes).  I just mean that I can't simply read
>> it.
>
> I once read a great (and funny) article arguing that you simple can't assume
> anything about what the following means in C++:
>
> a = b + c
>
> Nothing

You can assume quite a bit, if you are willing to assume something that 
could be wrong. ;)

If that doesn't work as expected, then whoever over-rode operator+ and 
operator= probably need some form of abuse.




More information about the Linux-audio-dev mailing list