This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Implications of tighter integration of libg++


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]