[bt-devel] namespace problems
David White
bt-devel@crosswire.org
22 Oct 2002 19:57:02 +1000
Martin,
I assume you are suggesting that instead of using namespaces, classes
with all-static members should be used. This is an alternative solution,
however note that some compilers (MSVC++6 in particular) do not allow
you to initialize a static member at the point of declaration, so you
would still need to initialize them in the source file anyway.
-David.
On Tue, 2002-10-22 at 16:05, Martin Gruner wrote:
> > How can I avoid these problems? I have no idea.
> > Thank you very much for any help!
>
> Well, why don't you make these members static? That should be the right way to
> go and would allow us to have only a header file, which would be nicer.
>
> mg
>