public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35722]  New: [C++0x] Variadic templates expansion into non-variadic class template
@ 2008-03-27 17:32 dgregor at gcc dot gnu dot org
  2008-03-27 17:32 ` [Bug c++/35722] " dgregor at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 22+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2008-03-27 17:32 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

The following well-formed example produces the incorrect error:

  error: cannot expand ‘G ...’ into a fixed-length argument list

template<typename G = void, typename H = void>
struct foo
{};

template<typename... G>
struct bar : foo<G...>
{};

int main() {
  bar<int, float> f;
}


-- 
           Summary: [C++0x] Variadic templates expansion into non-variadic
                    class template
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dgregor at gcc dot gnu dot org


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


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

end of thread, other threads:[~2012-04-16  2:12 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-35722-4@http.gcc.gnu.org/bugzilla/>
2011-01-04 22:53 ` [Bug c++/35722] [C++0x] Variadic templates expansion into non-variadic class template dodji at gcc dot gnu.org
2011-05-20 17:20 ` 3dw4rd at verizon dot net
2011-05-20 20:05 ` tristan.wibberley at gmail dot com
2011-09-27 15:35 ` dodji at gcc dot gnu.org
2011-10-02 21:46 ` jason at gcc dot gnu.org
2011-10-02 21:53 ` jason at gcc dot gnu.org
2011-10-14 19:17 ` jason at gcc dot gnu.org
2012-04-16  2:12 ` jason at gcc dot gnu.org
2008-03-27 17:32 [Bug c++/35722] New: " dgregor at gcc dot gnu dot org
2008-03-27 17:32 ` [Bug c++/35722] " dgregor at gcc dot gnu dot org
2008-12-02 17:51 ` jason at gcc dot gnu dot org
2009-01-06 19:47 ` jason at gcc dot gnu dot org
2009-01-07  0:06 ` jason at gcc dot gnu dot org
2009-04-04 23:12 ` sebor at roguewave dot com
2009-04-05  4:20 ` jason at gcc dot gnu dot org
2009-04-05 14:20 ` sebor at roguewave dot com
2009-04-05 17:12 ` sebor at roguewave dot com
2009-04-05 19:34 ` jason at gcc dot gnu dot org
2009-08-13  5:01 ` jack dot q dot word at gmail dot com
2009-08-13  5:05 ` jack dot q dot word at gmail dot com
2009-08-13  5:06 ` jack dot q dot word at gmail dot com
2009-08-13  5:14 ` jack dot q dot word at gmail dot com
2010-01-22  9:12 ` chris at bubblescope dot net

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