|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-05-14 13:38:54
From: "Ed Brey" <brey_at_[hidden]>
> No misunderstanding. MSVC6 constant-folds an expression that uses the
> inline function, but not the const double. I haven't looked at what
> other compilers do.
Amazing. VC 7 and bcc 5.5.1 do the same; for Intel 5.0 and g++ 2.95.2 -O3
there's no difference.
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk