]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/69392 (G++ can't capture 'this' pointer to templated type using init-capture)
authorJason Merrill <jason@redhat.com>
Fri, 22 Jan 2016 20:36:30 +0000 (15:36 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 22 Jan 2016 20:36:30 +0000 (15:36 -0500)
commit130ee9a9fc802926d2fe2701e041c98a6fb0f981
tree5b05d650ef9ad80cfc1f41d5f5d143983cf0383d
parent44b6ab2bf9597eb5f02e549d0236b942c007a1b0
re PR c++/69392 (G++ can't capture 'this' pointer to templated type using init-capture)

PR c++/69392
* lambda.c (lambda_capture_field_type): Handle 'this' specially
for init-capture, too.

From-SVN: r232746
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/g++.dg/cpp1y/lambda-init14.C [new file with mode: 0644]