public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/86883] Unexpected error: expansion pattern '<anonymous>' contains no argument packs
       [not found] <bug-86883-4@http.gcc.gnu.org/bugzilla/>
@ 2020-09-24 17:46 ` vopl at bk dot ru
  2020-09-25  8:31 ` vopl at bk dot ru
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: vopl at bk dot ru @ 2020-09-24 17:46 UTC (permalink / raw)
  To: gcc-bugs

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

vopl at bk dot ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vopl at bk dot ru

--- Comment #3 from vopl at bk dot ru ---
Probably caused by the same

$ cat test.cpp 
template<typename... T> struct Outer
{
    template<T... Values0>
    struct Inner
    {
        static bool Member;
    };
};

template<typename... T>
template<T... Values>
bool Outer<T...>::Inner<Values...>::Member;

$ g++-10.2.0 test.cpp 
test.cpp:12:34: error: expansion pattern ‘Values0’ contains no parameter packs
   12 | bool Outer<T...>::Inner<Values...>::Member;
      |                                  ^
test.cpp:12:6: error: too many template-parameter-lists
   12 | bool Outer<T...>::Inner<Values...>::Member;
      |      ^~~~~~~~~~~

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

* [Bug c++/86883] Unexpected error: expansion pattern '<anonymous>' contains no argument packs
       [not found] <bug-86883-4@http.gcc.gnu.org/bugzilla/>
  2020-09-24 17:46 ` [Bug c++/86883] Unexpected error: expansion pattern '<anonymous>' contains no argument packs vopl at bk dot ru
@ 2020-09-25  8:31 ` vopl at bk dot ru
  2021-01-19  1:51 ` ppalka at gcc dot gnu.org
  2021-01-19  1:53 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: vopl at bk dot ru @ 2020-09-25  8:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from vopl at bk dot ru ---
One more:

template<class... T> struct Outer
{
    template<T... V0> struct Inner;

    template<T... V> 
    Inner<V...> method();//error: expansion pattern 'V0' contains no parameter
packs
};

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

* [Bug c++/86883] Unexpected error: expansion pattern '<anonymous>' contains no argument packs
       [not found] <bug-86883-4@http.gcc.gnu.org/bugzilla/>
  2020-09-24 17:46 ` [Bug c++/86883] Unexpected error: expansion pattern '<anonymous>' contains no argument packs vopl at bk dot ru
  2020-09-25  8:31 ` vopl at bk dot ru
@ 2021-01-19  1:51 ` ppalka at gcc dot gnu.org
  2021-01-19  1:53 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-01-19  1:51 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryan_greenblatt at brown dot edu

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
*** Bug 98714 has been marked as a duplicate of this bug. ***

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

* [Bug c++/86883] Unexpected error: expansion pattern '<anonymous>' contains no argument packs
       [not found] <bug-86883-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-01-19  1:51 ` ppalka at gcc dot gnu.org
@ 2021-01-19  1:53 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-01-19  1:53 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-01-19
             Status|UNCONFIRMED                 |NEW
                 CC|                            |ppalka at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Confirmed with current trunk.

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

end of thread, other threads:[~2021-01-19  1:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-86883-4@http.gcc.gnu.org/bugzilla/>
2020-09-24 17:46 ` [Bug c++/86883] Unexpected error: expansion pattern '<anonymous>' contains no argument packs vopl at bk dot ru
2020-09-25  8:31 ` vopl at bk dot ru
2021-01-19  1:51 ` ppalka at gcc dot gnu.org
2021-01-19  1:53 ` ppalka at gcc dot gnu.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).