public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58147] New: Template template parameter
@ 2013-08-13  7:03 potswa at mac dot com
  2013-08-13  7:11 ` [Bug c++/58147] Template template parameter name found after nested-name-specifier potswa at mac dot com
  0 siblings, 1 reply; 2+ messages in thread
From: potswa at mac dot com @ 2013-08-13  7:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58147

            Bug ID: 58147
           Summary: Template template parameter
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: potswa at mac dot com

Although the usage is a bit dubious, name lookup of the identifier after a
nested-name-specifier should not find a template parameter name. But it does,
seemingly only for a template template parameter.

template< typename > struct b {};
template< template< typename > class b > struct d
    : b< int >
    { using d::b< int >::b; };
template struct d< b >;


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

* [Bug c++/58147] Template template parameter name found after nested-name-specifier
  2013-08-13  7:03 [Bug c++/58147] New: Template template parameter potswa at mac dot com
@ 2013-08-13  7:11 ` potswa at mac dot com
  0 siblings, 0 replies; 2+ messages in thread
From: potswa at mac dot com @ 2013-08-13  7:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58147

David Krauss <potswa at mac dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from David Krauss <potswa at mac dot com> ---
Never mind; I was missing a template keyword after the nested-name-specifier.

NEEDS MOAR TEMPLATE!


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

end of thread, other threads:[~2013-08-13  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-13  7:03 [Bug c++/58147] New: Template template parameter potswa at mac dot com
2013-08-13  7:11 ` [Bug c++/58147] Template template parameter name found after nested-name-specifier potswa at mac dot com

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).