Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
November 27, 2020 betterC: does scope exit work with longjmp? | ||||
---|---|---|---|---|
| ||||
In betterC mode does scope exit work with longjmp? If not does it work in full D? |
November 27, 2020 Re: betterC: does scope exit work with longjmp? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dibyendu Majumdar | On Friday, 27 November 2020 at 19:28:38 UTC, Dibyendu Majumdar wrote:
> In betterC mode does scope exit work with longjmp?
> If not does it work in full D?
longjmp always bypasses scope exit, struct dtors, etc.
|
November 27, 2020 Re: betterC: does scope exit work with longjmp? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Friday, 27 November 2020 at 19:33:24 UTC, Adam D. Ruppe wrote:
> On Friday, 27 November 2020 at 19:28:38 UTC, Dibyendu Majumdar wrote:
>> In betterC mode does scope exit work with longjmp?
>> If not does it work in full D?
>
> longjmp always bypasses scope exit, struct dtors, etc.
Okay thanks
|
November 27, 2020 Re: betterC: does scope exit work with longjmp? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dibyendu Majumdar | On Friday, 27 November 2020 at 19:28:38 UTC, Dibyendu Majumdar wrote:
> In betterC mode does scope exit work with longjmp?
> If not does it work in full D?
Could you put your questions in the learn section please.
|
November 28, 2020 Re: betterC: does scope exit work with longjmp? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Max Haughton | On Friday, 27 November 2020 at 20:32:22 UTC, Max Haughton wrote:
> On Friday, 27 November 2020 at 19:28:38 UTC, Dibyendu Majumdar wrote:
>> In betterC mode does scope exit work with longjmp?
>> If not does it work in full D?
>
> Could you put your questions in the learn section please.
My questions are to do with understanding the D specification.
|
November 28, 2020 Re: betterC: does scope exit work with longjmp? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dibyendu Majumdar | On Saturday, 28 November 2020 at 15:17:48 UTC, Dibyendu Majumdar wrote:
> On Friday, 27 November 2020 at 20:32:22 UTC, Max Haughton wrote:
>>
>> Could you put your questions in the learn section please.
>
> My questions are to do with understanding the D specification.
...and are therefore appropriate for the Learn forum.
It's called "Learn" and not "Beginners" for a reason--even the most experienced among us still have new things to learn. :)
|
November 28, 2020 Re: betterC: does scope exit work with longjmp? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul Backus | On Saturday, 28 November 2020 at 15:37:13 UTC, Paul Backus wrote:
> On Saturday, 28 November 2020 at 15:17:48 UTC, Dibyendu Majumdar wrote:
>> On Friday, 27 November 2020 at 20:32:22 UTC, Max Haughton wrote:
>>>
>>> Could you put your questions in the learn section please.
>>
>> My questions are to do with understanding the D specification.
>
> ...and are therefore appropriate for the Learn forum.
>
> It's called "Learn" and not "Beginners" for a reason--even the most experienced among us still have new things to learn. :)
I understand and I do post questions there too, but when it seems more about how D is designed to work, I ask here.
|
Copyright © 1999-2021 by the D Language Foundation