October 23, 2020 General » Re: Destructor called while object is still alive | |||
|---|---|---|---|
| |||
...supposed to map to D classes? Then RAII has to work. That would be very... | |||
October 23, 2020 General » Re: Destructor called while object is still alive | |||
|---|---|---|---|
| |||
But you don't get RAII with classes or pointers. Only with structs. I don... | |||
October 23, 2020 General » Re: Destructor called while object is still alive | |||
|---|---|---|---|
| |||
...away and then the GC collects. Makes RAII useless with GC. Basically a consequence of... | |||
October 16, 2020 Learn » Re: Struct field destructor not called when exception is thrown in the main struct destructor | |||
|---|---|---|---|
| |||
...itself. Imagine if throwing an Exception disabled RAII in any enclosing function scopes because it... | |||
October 07, 2020 General » Re: TypeFunction example: ImplictConvTargets | |||
|---|---|---|---|
| |||
...qualities. Probably the most important improvement since RAII... Nobody that values their time wants to... | |||
September 29, 2020 General » Re: Reimplementing the bulk of std.meta iteratively | |||
|---|---|---|---|
| |||
...in C++ has turned out to be RAII in combination with exceptions. Objects with deterministic... | |||
July 13, 2020 General » Re: GC/nogc status in docs | |||
|---|---|---|---|
| |||
...who read the post's comments. GC, RAII, RC, so many misinformation HN, reddit, etc... | |||
June 14, 2020 General » Re: Social media | |||
|---|---|---|---|
| |||
...control memory deallocation. I can't add RAII. I can't control memory layout. Instead... | |||
May 21, 2020 Learn » Re: How to allocate/free memory under @nogc | |||
|---|---|---|---|
| |||
...take care of freeing the memory yourself, either manually or using a technique like RAII. | |||
April 14, 2020 General » Re: memory safety checks and trust | |||
|---|---|---|---|
| |||
...if my graph algorithm has cycles, will RAII (e.g. RefCounted) take care of that... | |||
Copyright © 1999-2021 by the D Language Foundation