Boost logo

Boost :

From: Stephen Silver (boost_at_[hidden])
Date: 2001-01-14 16:06:51


I wrote:

> #include <boost/rational.hpp>
>
> int main()
> {
> boost::rational<int> zilch(0);
> zilch < zilch; // causes division by zero
> }

And (completely different bug):

  #include <boost/rational.hpp>

  int main()
  {
      boost::rational<int> zilch(0);
      0 < zilch; // doesn't compile
  }

Stephen


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