[sword-devel] sword namespace

Martin Gruner sword-devel@crosswire.org
Mon, 30 Sep 2002 19:11:37 +0200


Good idea, good approach for a library.

Martin

Am Montag, 30. September 2002 12:38 schrieb Daniel Glassey:
> Hi,
> Does anyone strongly object to me putting the sword stuff into a 'sword'
> namespace?
>
> This will make naming conflicts (remember gettext?) a lot harder - I'm
> hoping that any terms used in install manager stuff will be globally unique
> but you never know and better safe than sorry. It will mean that you will
> explicitly have to use classes as sword::SWMgr or else declare 'using
> namespace sword;' at the top of each source file to pull in the whole
> visible namespace or 'using sword::SWMgr;' for that particular
> class/whatever. (the latter is preferable in most circumstance)
>
> that ok?
> Daniel