| commit | b2997f579a8b6552a49eab97e33c437b9251eb0a | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue May 21 20:10:50 2019 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue May 21 20:10:50 2019 +0000 |
| tree | 73c1636810d5a9a7b8d5e9af36cd2c6ab0182eac | |
| parent | 6e19543a2a2013bd357eb15e383b435cd0cbb810 [diff] |
[c++20] P0780R2: Support pack-expansion of init-captures.
This permits an init-capture to introduce a new pack:
template<typename ...T> auto x = [...a = T()] { /* a is a pack */ };
To support this, the mechanism for allowing ParmVarDecls to be packs has
been extended to support arbitrary local VarDecls.
llvm-svn: 361300