parameter packs not expanded with ‘…' — another variadic template bug with gcc?

前端 未结 1 1550
南笙
南笙 2021-01-18 03:18

gcc\'s treatment of variadic templates is well known to be patchy (see for example this and this), but I wonder whether the following bug is already known (I cannot find it

相关标签:
1条回答
  • 2021-01-18 03:51

    Given that the code compiles cleanly with both clang version 3.5 (trunk 202594) and more importantly with gcc version 4.9.0 20140302 (experimental) (GCC), both with -Wall, I would say it was an issue with the earlier versions of gcc.

    I am looking for a gcc bugreport at http://gcc.gnu.org/bugzilla/ to confirm this.

    0 讨论(0)
提交回复
热议问题