[Bug c++/20687] namespace bug
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 29 19:51:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-29 19:51 -------
The reduced testcase:
namespace dd {
struct t1 {};
}
namespace ff {
using namespace dd;
}
struct t1 { };
namespace ff
{
typedef t1 t2;
}
But the use of t1 is ambiguous really as "using namespace" is not as strong as defining the t1 in the
namespace ff or doing a "using dd::t1" in the namespace ff.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20687
More information about the Gcc-bugs
mailing list