Re: [PATCH] Add a builtin for indexing into parameter packs

2015-12-09 Thread David Majnemer via cfe-commits
Would you mind uploading the clang-side of this patch to phabricator? It will make it a little easier for me to perform a review. See http://llvm.org/docs/Phabricator.html for more details. On Mon, Nov 30, 2015 at 9:13 AM, Louis Dionne via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Hi, >

[PATCH] Add a builtin for indexing into parameter packs

2015-11-30 Thread Louis Dionne via cfe-commits
Hi, I wrote a patch that adds a `__nth_element` builtin that allows fetching the n-th type of a parameter pack with very little compile-time overhead. The patch was inspired by r252036 and r252115 by David Majnemer, which add a similar `__make_integer_seq` builtin for efficiently creating a `s