public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98714] New: [c++14] Nested type with variadic template class argument can't be expanded into using outer variadic types
@ 2021-01-17 20:17 ryan_greenblatt at brown dot edu
  2021-01-19  1:51 ` [Bug c++/98714] " ppalka at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: ryan_greenblatt at brown dot edu @ 2021-01-17 20:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98714
           Summary: [c++14] Nested type with variadic template class
                    argument can't be expanded into using outer variadic
                    types
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ryan_greenblatt at brown dot edu
  Target Milestone: ---

https://godbolt.org/z/jjqEss
```
template<typename T>
constexpr int val = 0;

template <typename... T> struct NestedType {
  template <template <T...> class Inp>
  using Type = Inp<val<T>...>;
};

template <int> struct TakesInt {};

constexpr NestedType<int>::Type<TakesInt> a;
```
Happens on all the version of g++ I tried.

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

* [Bug c++/98714] [c++14] Nested type with variadic template class argument can't be expanded into using outer variadic types
  2021-01-17 20:17 [Bug c++/98714] New: [c++14] Nested type with variadic template class argument can't be expanded into using outer variadic types ryan_greenblatt at brown dot edu
@ 2021-01-19  1:51 ` ppalka at gcc dot gnu.org
  0 siblings, 0 replies; 2+ 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=98714

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Looks like a dup of PR86883

*** This bug has been marked as a duplicate of bug 86883 ***

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-17 20:17 [Bug c++/98714] New: [c++14] Nested type with variadic template class argument can't be expanded into using outer variadic types ryan_greenblatt at brown dot edu
2021-01-19  1:51 ` [Bug c++/98714] " 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).