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

            Bug ID: 100718
           Summary: parameter packs not expanded error with a type member
                    which has the same name as a pack
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jonathan.poelen at gmail dot com
  Target Milestone: ---

template<class... Ts>
struct Storage
{
  using Args = int;
};

template<class... Args>
void delegate(Args&&... args)
{
  using X = typename Storage<Args...>::Args; // reject this
}

https://godbolt.org/z/TdYrTonM3

Reply via email to