Re: Nested-Functions

2018-01-04 Thread Alexsandr Yvarov
Thanks Jonathan! Hm... why would don't add it for portability? Of course, i don't see codes with Nested-Functions so much, but... I think that better would delete it, or add full support? And, it's contradicts to standart of C, nope?:) ~~~ About lambda: Yeah is very pooowerful, of course

Re: Nested-Functions

2018-01-04 Thread Nathan Sidwell
On 01/03/2018 07:52 PM, Austin T wrote: By nested functions, I'm assuming that means raw function definitions that are valid inside a temporary scope of a function. If I'm not mistaken, they're equivalent to C++ lambda expressions but just written in a syntactic sugar syntax. GNU-C nested fun

Re: Nested-Functions

2018-01-04 Thread Jonathan Wakely
On 4 January 2018 at 00:54, nick wrote: > > > On 2018-01-03 07:52 PM, Austin T wrote: >> By nested functions, I'm assuming that means raw function definitions that >> are valid inside a temporary scope of a function. If I'm not mistaken, >> they're equivalent to C++ lambda expressions but just w

Re: Nested-Functions

2018-01-04 Thread Jonathan Wakely
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

Re: Nested-Functions

2018-01-03 Thread nick
On 2018-01-03 07:52 PM, Austin T wrote: >  By nested functions, I'm assuming that means raw function definitions that > are valid inside a temporary scope of a function. If I'm not mistaken, > they're equivalent to C++ lambda expressions but just written in a syntactic > sugar syntax. > > Aus

Re: Nested-Functions

2018-01-03 Thread Austin T
By nested functions, I'm assuming that means raw function definitions that are valid inside a temporary scope of a function. If I'm not mistaken, they're equivalent to C++ lambda expressions but just written in a syntactic sugar syntax. Austin On Jan 3, 2018 2:44 PM, "nick" wrote: On 2018-01

Re: Nested-Functions

2018-01-03 Thread nick
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 yo

Re: Nested-Functions

2018-01-03 Thread Jonathan Wakely
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?