Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-10-22 11:02:23


From: "Peter Dimov" <pdimov_at_[hidden]>
> static_lcm causes a STATIC_ASSERT on common_factor.hpp:139; when commented
> out, both VC 6 and VC 7 complain that line 143 is not a constant
expression.

Which is probably caused by the fact that there is a division by zero
present.

g++ 2.95.2 likes the code (with a division by zero warning), Borland 5.5.1
fails spectacularly.

--
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