Boost logo

Boost :

Subject: Re: [boost] [Review] GGL review starts today, November 5th
From: Barend Gehrels (barend_at_[hidden])
Date: 2009-11-19 15:46:29


>> In my test ReturnType was double. This would seem to silently compile
>> and return garbage on these inputs. In practice on vs2008(
>> VC9 ) these
>> return values were 0 (with optimizations on) even though the return
>> resolves to double();. I'm guessing other platforms won't be so lucky.
>>
>
> That is well defined to return built-in types zero-initialized.
>
Thanks Rob!
I was just looking for a reference for this.
Regards, Barend


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk