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.

_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to