[geos-devel] 3.2.0 Final

Mateusz Loskot mateusz at loskot.net
Sat Dec 12 09:36:34 EST 2009


Barend Gehrels wrote:
> On the friend discussion: you can probably put those not-to-be-exposed
> interfaces in a namespace like "detail", or "impl", or "not_exposed".

...or private

> That will prevent normal C++ programmers from using it, without the
> drawbacks of friends.

I second Barend's voice.

Everything what does not belong to public interface of GEOS,
but it a member of so called implementation detail should
go to separate namespace.
This is common approach to indicate what elements are
supposed to be used by a library client.

Best regards,
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the geos-devel mailing list