Implications of tighter integration of libg++

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Mon Feb 9 07:13:00 GMT 1998


> Just my opinions -- the g++ folks might have different ideas about this
> whole area.

I think about namespaces from time to time. It seems that proper
namespace support will quite dramatically change the library
interface. Everything in libstdc++ is supposed to live in namespace
std{}; and names in there should be different from application-defined
names. So as a result, every name will be qualified with Q23std in the
long run.

I'm not sure how the .h header files of libstdc++ should be handled;
the standard allows to use them for backwards compatibility. Perhaps
g++ will still need to special-case namespace std, and generate the
appropriate aliases.

What do you think?

Martin



More information about the Gcc mailing list