Skip to content

template template argument count seems to be using the actual count instead of the effective #45518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
llvmbot opened this issue Jun 2, 2020 · 5 comments
Labels
bugzilla Issues migrated from bugzilla c++17 clang:frontend Language frontend issues, e.g. anything involving "Sema" duplicate Resolved as duplicate

Comments

@llvmbot
Copy link
Member

llvmbot commented Jun 2, 2020

Bugzilla Link 46173
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @dwblaikie,@DougGregor,@zygoloid

Extended Description

repro: https://wandbox.org/permlink/vG1j2gpcPKUjxZvS

error: template template argument has different template parameters than its corresponding template template parameter

both gcc and msvc compiles it with no error/warning

@zygoloid
Copy link
Mannequin

zygoloid mannequin commented Jun 2, 2020

Use -frelaxed-template-template-args to enable support for the relaxed C++17 template template arguments rule (see http://clang.llvm.org/cxx_status.html#p0522).

@llvmbot
Copy link
Member Author

llvmbot commented Jun 2, 2020

thank you for the quick reply.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
@EugeneZelenko EugeneZelenko added the clang:frontend Language frontend issues, e.g. anything involving "Sema" label Aug 23, 2022
@llvmbot
Copy link
Member Author

llvmbot commented Aug 23, 2022

@llvm/issue-subscribers-clang-frontend

@mizvekov
Copy link
Contributor

Duplicate of #42224

@mizvekov mizvekov marked this as a duplicate of #42224 Apr 27, 2024
@mizvekov mizvekov closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2024
@EugeneZelenko EugeneZelenko added the duplicate Resolved as duplicate label Apr 27, 2024
@Endilll Endilll added c++17 and removed c++ labels Apr 28, 2024
@llvmbot
Copy link
Member Author

llvmbot commented Apr 28, 2024

@llvm/issue-subscribers-c-17

Author: None (llvmbot)

| | | | --- | --- | | Bugzilla Link | [46173](https://llvm.org/bz46173) | | Version | trunk | | OS | All | | Reporter | LLVM Bugzilla Contributor | | CC | @dwblaikie,@DougGregor,@zygoloid |

Extended Description

repro: https://wandbox.org/permlink/vG1j2gpcPKUjxZvS

error: template template argument has different template parameters than its corresponding template template parameter

both gcc and msvc compiles it with no error/warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla c++17 clang:frontend Language frontend issues, e.g. anything involving "Sema" duplicate Resolved as duplicate
Projects
None yet
Development

No branches or pull requests

4 participants