This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
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