This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Nested-Functions
- From: nick <xerofoify at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>, Alexsandr Yvarov <a dot yvarov at yandex dot ru>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 3 Jan 2018 19:44:49 -0500
- Subject: Re: Nested-Functions
- Authentication-results: sourceware.org; auth=none
- References: <2834421515014004@web57j.yandex.ru> <CAH6eHdS=GLMrZgn1Z9va3MqgSBUQsW8TjEenL+iqe9Tt1PbtjQ@mail.gmail.com>
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.
What do you mean by nested functions actually as that means a lot
of things in compiler or language development.
Cheers,
Nick