A couple of namespace+template bugs.
Jason Merrill
jason@cygnus.com
Thu Feb 26 19:00:00 GMT 1998
>>>>> Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de> writes:
> - support using-directives.
I figured that this would be implemented via a new tree code USING_DECL,
which just points to the decl being used. Lookup would find the USING_DECL
and return the target.
> Since I don't have a grasp on how g++ represents templates, yet, I'm
> not sure how it would fit into this schedule. Since C++ is quite
> restrictive as to how template names can be overloaded with something
> else, it should be an independent matter.
Class template names can't be overloaded with anything else.
Jason
More information about the Gcc-bugs
mailing list