Re: [GD-General] Re: Simulating constrained genericity in C++
Brought to you by:
vexxed72
From: Patrick M D. <pa...@wa...> - 2001-12-27 19:45:05
|
On Thu, 27 Dec 2001, Joe wrote: > So assuming point2d was an interface too, wouldn't you > just do > interface point3d extends point2d{ > public float z(); > } > and then your old implimentation should work Of course, but you may not always be able to make such modifications in practice. Patrick |