This is the mail archive of the gcc-bugs@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: g++: bug in namespaces?


> I suppose the following file should compile.
> Explicitly importing the variable definition with st::int_type works
> though. 

Peter,

Thanks for your report. You are right: It should
compile. Unfortunately, local using-directives and -declarations are
not supported, yet. I'm working on that.

As a work-around, move the using-directive to the global scope,
or use full qualification through-out.

Martin


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