Re: About a error reported by gcc

2018-07-05 Thread Jonathan Wakely
On Thu, 5 Jul 2018 at 02:14, snow_xmas wrote: > > Hello. > The source in the attachment can not be compiled, because there is a > variable in the lambda-introducer does not have a copy-constructor, but have > a move-constructor. When a function object constructed by a lambda-expression > lik

Re: About a error reported by gcc

2018-07-04 Thread Liu Hao
在 2018/7/5 9:14, snow_xmas 写道: Hello. The source in the attachment can not be compiled, because there is a variable in the lambda-introducer does not have a copy-constructor, but have a move-constructor. When a function object constructed by a lambda-expression like this, the compiler wil

About a error reported by gcc

2018-07-04 Thread snow_xmas
Hello. The source in the attachment can not be compiled, because there is a variable in the lambda-introducer does not have a copy-constructor, but have a move-constructor. When a function object constructed by a lambda-expression like this, the compiler will report this error. And I have tr