On 2012-10-24 21:37, Mehrdad wrote: > I don't know what to expect code like this to do (unlike in C++, where > everything is clearly defined in the specs), and when it seems to do > what I want, it really turns out to be a bug in the library that it > seemed to work in the first place. :( Everything in C++ is specified as undefined behavior :) -- /Jacob Carlborg