[LLVMbugs] [Bug 21289] Unrecognized indirect pack expansion when accessing value member

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 17 13:58:15 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21289

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
OK, entertainingly the remaining issue root-causes to a bug in the C++
standard. Your type

  using tuple = std::tuple<fixed<size_type>::type<Args>..., size_type>;

is technically not considered a dependent type, even though it obviously
depends on the length of the pack 'Args'.

Fixed in r220088, and I've filed a defect report against the standard.

With clang trunk, your testcase builds and produces this output:

0
0
0
0
0
0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141017/b863c8d8/attachment.html>


More information about the llvm-bugs mailing list