[LLVMbugs] [Bug 7657] template-id referenced without 'template' keyword

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 15 19:18:50 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7657

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2010-07-15 21:18:49 CDT ---
Clang follows the clarified C++0x wording for this section that relies on the
definition of the "current instantiation". In this case, "this" is the current
instantiation so we can look into the primary Foo template to find out that
"cast" is a template, and therefore don't require (but do allow) the "template"
keyword.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list