public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61022] New: [C++11] Bogus "error: parameter packs not expanded with '...'"
@ 2014-04-30 22:16 ppluzhnikov at google dot com
  2014-10-31  4:01 ` [Bug c++/61022] " ppluzhnikov at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ppluzhnikov at google dot com @ 2014-04-30 22:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61022
           Summary: [C++11] Bogus "error: parameter packs not expanded
                    with '...'"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ppluzhnikov at google dot com

Google ref: b/14441040

// --- cut ---
template <typename T> struct Template {};

template <typename O> struct TemplateAliasStruct {
  template <typename T> using TemplateAlias = Template<T>;
};

template <template <typename> class... T> struct Templates {};

// Using this alternate definition of Templates compiles:
// template <template <typename> class... W> void Templates() {}

template <typename... W>
void DoTest() {
  Templates<TemplateAliasStruct<W>::template TemplateAlias...>();
}

int main(int argc, char* argv[]) {
  DoTest<int, int>();
  return 0;
}
// --- cut ---

Using trunk @r209848:

g++ -c -std=c++11 t.cc
t.cc: In function 'void DoTest()':
t.cc:14:65: error: parameter packs not expanded with '...':
   Templates<TemplateAliasStruct<W>::template TemplateAlias...>();
                                                                 ^
t.cc:14:65: note:         'W'

The test compiles cleanly with Clang.


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

* [Bug c++/61022] [C++11] Bogus "error: parameter packs not expanded with '...'"
  2014-04-30 22:16 [Bug c++/61022] New: [C++11] Bogus "error: parameter packs not expanded with '...'" ppluzhnikov at google dot com
@ 2014-10-31  4:01 ` ppluzhnikov at google dot com
  2014-12-08 18:35 ` ville.voutilainen at gmail dot com
  2015-04-23 23:10 ` ppluzhnikov at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ppluzhnikov at google dot com @ 2014-10-31  4:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61022

--- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
Still fails with trunk @r216948


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

* [Bug c++/61022] [C++11] Bogus "error: parameter packs not expanded with '...'"
  2014-04-30 22:16 [Bug c++/61022] New: [C++11] Bogus "error: parameter packs not expanded with '...'" ppluzhnikov at google dot com
  2014-10-31  4:01 ` [Bug c++/61022] " ppluzhnikov at google dot com
@ 2014-12-08 18:35 ` ville.voutilainen at gmail dot com
  2015-04-23 23:10 ` ppluzhnikov at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ville.voutilainen at gmail dot com @ 2014-12-08 18:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61022

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-08
                 CC|                            |ville.voutilainen at gmail dot com
     Ever confirmed|0                           |1


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

* [Bug c++/61022] [C++11] Bogus "error: parameter packs not expanded with '...'"
  2014-04-30 22:16 [Bug c++/61022] New: [C++11] Bogus "error: parameter packs not expanded with '...'" ppluzhnikov at google dot com
  2014-10-31  4:01 ` [Bug c++/61022] " ppluzhnikov at google dot com
  2014-12-08 18:35 ` ville.voutilainen at gmail dot com
@ 2015-04-23 23:10 ` ppluzhnikov at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ppluzhnikov at google dot com @ 2015-04-23 23:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61022

--- Comment #2 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
Still fails with trunk @r222386


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

end of thread, other threads:[~2015-04-23 23:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-30 22:16 [Bug c++/61022] New: [C++11] Bogus "error: parameter packs not expanded with '...'" ppluzhnikov at google dot com
2014-10-31  4:01 ` [Bug c++/61022] " ppluzhnikov at google dot com
2014-12-08 18:35 ` ville.voutilainen at gmail dot com
2015-04-23 23:10 ` ppluzhnikov at google 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).