|
Boost Users : |
From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2004-05-06 03:55:28
Angus Leeming wrote:
> I've coded up your example code below. Not pretty, but does seem to
> do the right thing.
Taking this to its logigical conclusion, your user code becomes:
number const value1(double(127));
number const value2(int(17));
number const value3 = value1 + value2;
All the gubbins is hidden in the number class.
Regards,
Angus
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net