This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Nested-Functions


On 4 January 2018 at 00:44, nick wrote:
>
>
> On 2018-01-03 06:05 PM, Jonathan Wakely wrote:
>> On 3 January 2018 at 21:13, Alexsandr Yvarov wrote:
>>> Why would dont add it at GNU G++?
>>
>> Aren't C++ lambda expressions more powerful and flexible?
>>
>
> It depends actually, lambdas are consider the  C++ standard of this. I am wondering what
> you mean Alexsandir and what is your use case as lambdas tryto solve this for most use
> cases of antonymous and nested functions. What are the requirements if any that lambdas
> don't meant and have you looked at the C++14/17 standard for them if your compiler
> supports it.

This is the gcc-help list, so compilers that don't support C++14 are off topic.

> What do you mean by nested functions actually as that means a lot
> of things in compiler or language development.

This is the gcc-help list, so obviously it refers to the GCC extension:
https://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]