
26 May
2006
26 May
'06
9:56 a.m.
On Thu, May 25, 2006 at 04:41:32PM +0200, Maarten Kronenburg wrote:
Users can implement an unsigned_integer by deriving from integer, but this will not give any performance gain.
This would violate Item 32 in Effective C++, 3rd ed. by Scott Meyers: Make sure public inheritance models "is-a". I suggest deriving from integer be disallowed in the TR2 proposal. Regards -Gerhard -- 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.