Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

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

Open Quuxplusone opened 4 years ago

Quuxplusone commented 4 years ago
Bugzilla Link PR46173
Status NEW
Importance P normal
Reported by Zsolt "seen" FARKAS (seen@xds.hu)
Reported on 2020-06-02 06:09:04 -0700
Last modified on 2020-06-02 11:25:48 -0700
Version trunk
Hardware PC All
CC blitzrakete@gmail.com, dblaikie@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk, seen@xds.hu
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also

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

Quuxplusone commented 4 years ago

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).

Quuxplusone commented 4 years ago

thank you for the quick reply.