public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13594] New: namespace association vs. templates part two
@ 2004-01-07  3:06 bkoz at gcc dot gnu dot org
  2004-01-07  3:15 ` [Bug c++/13594] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-01-07  3:06 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-01-15 17:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-07  3:06 [Bug c++/13594] New: namespace association vs. templates part two bkoz at gcc dot gnu dot org
2004-01-07  3:15 ` [Bug c++/13594] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-01-07 17:00 ` aoliva at gcc dot gnu dot org
2004-01-07 19:43 ` aoliva at gcc dot gnu dot org
2004-01-07 21:02 ` aoliva at gcc dot gnu dot org
2004-01-12 16:42 ` bkoz at gcc dot gnu dot org
2004-01-12 18:39 ` aoliva at gcc dot gnu dot org
2004-01-15 14:42 ` cvs-commit at gcc dot gnu dot org
2004-01-15 14:42 ` cvs-commit at gcc dot gnu dot org
2004-01-15 17:44 ` aoliva at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).