Boost logo

Boost :

From: Gerhard Wesp (gwesp_at_[hidden])
Date: 2006-05-09 12:27:33

On Tue, May 09, 2006 at 06:04:31PM +0200, Tobias Schwinger wrote:
> The code is more readable and more flexible. You don't have to be afraid
> to break things when you change the type of a varaible, it either just
I'm not convinced. What if you change a and b from "heavyweight"
integer to built-in integer? Then the semantics of the your example

  rational c = a / b // where a and b are integers a=1 b=2

c will then be zero.


Gerhard Wesp
ZRH office voice: +41 (0)44 668 1878
ZRH office fax: +41 (0)44 200 1818
For the rest I claim that raw pointers must be abolished.

Boost list run by bdawes at, gregod at, cpdaniel at, john at