This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Nested-Functions
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: nick <xerofoify at gmail dot com>
- Cc: Alexsandr Yvarov <a dot yvarov at yandex dot ru>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 4 Jan 2018 09:31:32 +0000
- Subject: Re: Nested-Functions
- Authentication-results: sourceware.org; auth=none
- References: <2834421515014004@web57j.yandex.ru> <CAH6eHdS=GLMrZgn1Z9va3MqgSBUQsW8TjEenL+iqe9Tt1PbtjQ@mail.gmail.com> <c62b1745-d4e0-c985-5903-7d88356a014e@gmail.com>
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