August 06, 2022 General » A shorter alias for scope(exit) possible? a case for `defer` | |||
|---|---|---|---|
| |||
I'm not a RAII lover I like to manage manually manage resources and have... | |||
July 15, 2022 General » Re: How usable is the D language without a garbage collector? | |||
|---|---|---|---|
| |||
...without touching the GC at all, no RAII (thanks to scope guards aka defer, scope... | |||
July 15, 2022 General » Re: How usable is the D language without a garbage collector? | |||
|---|---|---|---|
| |||
...secondary. That said, everything in C++ is RAII-based so it is hard to beat... | |||
July 06, 2022 General » Re: Syntax sugar for {} with structs | |||
|---|---|---|---|
| |||
I don't use RAII, destroy does something very specific in my arena allocator The... | |||
July 06, 2022 Announce » Re: The D Programming Language Vision Document | |||
|---|---|---|---|
| |||
...allocated memory that are nogc should use RAII and prevent GC pointers from pointing to... | |||
July 01, 2022 General » Syntax sugar for {} with structs | |||
|---|---|---|---|
| |||
...read, i do not use constructors or RAII, and i feel like i'm being... | |||
June 29, 2022 Learn » Re: DIP1000 | |||
|---|---|---|---|
| |||
...That is perfectly ok if you use RAII and manage life times. You did :). If... | |||
June 27, 2022 General » Re: Civility | |||
|---|---|---|---|
| |||
...benefits from ‘shared’ and clear move semantics/RAII. So starting with big things matters. If... | |||
June 21, 2022 Learn » destroy and @safe | |||
|---|---|---|---|
| |||
...my own "use" template supposing object are RAII
i.e.:
```d
Item[] items = query("...").use... | |||
June 04, 2022 Learn » Re: Comparing Exceptions and Errors | |||
|---|---|---|---|
| |||
...is simple: Error + nothrow will sidestep any RAII you may have. Since you cannot know... | |||
Copyright © 1999-2021 by the D Language Foundation