public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40092]  New: -std=gnu++0x expansion pattern fails with error about derived template instead of actual template
@ 2009-05-10 16:20 cppljevans at suddenlink dot net
  2009-05-10 16:22 ` [Bug c++/40092] " cppljevans at suddenlink dot net
                   ` (18 more replies)
  0 siblings, 19 replies; 21+ messages in thread
From: cppljevans at suddenlink dot net @ 2009-05-10 16:20 UTC (permalink / raw)
  To: gcc-bugs

When compile trysto expand:

  : seq
  < integral_c
    < Integral
    , Vals
    >...

the error diagnostic prints integral_c<T, val> instead of 
integral_c<Integral,Vals>.  The integral_constant template
is derived from integral_c and does have T and val args:

struct integral_constant:public mpl::integral_c < T, val >

However, when that is replaced with:

struct integral_constant;//:public mpl::integral_c < T, val >

Compilation succeeds.


-- 
           Summary: -std=gnu++0x expansion pattern fails with error about
                    derived template instead of actual template
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cppljevans at suddenlink dot net


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


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

end of thread, other threads:[~2009-10-18  5:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-10 16:20 [Bug c++/40092] New: -std=gnu++0x expansion pattern fails with error about derived template instead of actual template cppljevans at suddenlink dot net
2009-05-10 16:22 ` [Bug c++/40092] " cppljevans at suddenlink dot net
2009-05-10 16:23 ` cppljevans at suddenlink dot net
2009-05-10 16:24 ` cppljevans at suddenlink dot net
2009-05-15  1:19 ` cppljevans at suddenlink dot net
2009-05-28 13:05   ` Larry Evans
2009-06-11 21:24 ` cppljevans at suddenlink dot net
2009-07-13 12:48 ` cppljevans at suddenlink dot net
2009-07-13 12:50 ` cppljevans at suddenlink dot net
2009-08-03 12:09 ` cppljevans at suddenlink dot net
2009-08-12 14:12 ` [Bug c++/40092] solution in cp_tree_equal (was Re: [Bug c++/40092] New: " Larry Evans
2009-08-12 19:15 ` [Bug c++/40092] " cppljevans at suddenlink dot net
2009-08-13 19:15 ` cppljevans at suddenlink dot net
2009-08-15 15:44 ` cppljevans at suddenlink dot net
2009-08-16 13:44 ` cppljevans at suddenlink dot net
2009-08-16 15:46 ` paolo dot carlini at oracle dot com
2009-08-17 14:07 ` [Bug c++/40092] [c++0x] " cppljevans at suddenlink dot net
2009-08-17 14:23 ` paolo dot carlini at oracle dot com
2009-10-14  6:28 ` jason at gcc dot gnu dot org
2009-10-18  5:13 ` jason at gcc dot gnu dot org
2009-10-18  5:19 ` jason 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).