[Bug c++/13594] New: namespace association vs. templates part two
bkoz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 7 03:06:00 GMT 2004
From:
http://gcc.gnu.org/ml/libstdc++/2004-01/msg00047.html
Ugh, more namespace association fallout. It looks like associated namespaces are
not being considered matches. This is probably related to (or the same as) the
other namespace association issue w/ std::swap that Richard Sandiford found.
#if 1
namespace std
{
template<typename T1, typename T2 = int>
class vector;
template<typename T1, typename T2>
class vector;
}
#else
namespace __gnu_norm
{
template<typename T1, typename T2 = int>
class vector;
}
namespace std
{
using namespace __gnu_norm __attribute__ ((strong));
}
namespace std
{
template<typename T1, typename T2>
class vector;
}
#endif
class Foo { };
typedef std::vector<Foo> FooVec;
--
Summary: namespace association vs. templates part two
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: jason at redhat dot com
ReportedBy: bkoz at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,larsbj at gullik dot
net,rsandifo at redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13594
More information about the Gcc-bugs
mailing list