[geos-devel] ABI protection

strk at refractions.net strk at refractions.net
Sat Jun 25 11:40:53 EDT 2005

On Sat, Jun 25, 2005 at 10:21:22AM -0500, Curtis Barrett wrote:
> Adding non-virtual methods will not break compatibility. If the method is virtual, I don't think you can add it without breaking compatibility. 
> One option would be to (for now) make the new method a function external to the Node class and grant it friend status with Node. This way, it can work on the interals of Node without changing Node's face to the world. Depending on what the method does, this may not be practical.

I think non-virtual option is ok for the 2.1 branch.
Other thougths ?


More information about the geos-devel mailing list