February 02, 2017 Issues » [Issue 17138] New: Warn about superfluous "with" statements | |||
|---|---|---|---|
| |||
...a likely bug.
I use the following RAII idiom:
with(someLock.acquired()) {
..
}
But get no... | |||
February 01, 2017 Learn » Re: struct: default construction or lazy initialization. | |||
|---|---|---|---|
| |||
...a static factory as well => no real RAII. It's not that bad. D just... | |||
February 01, 2017 Learn » Re: struct: default construction or lazy initialization. | |||
|---|---|---|---|
| |||
...You can't even call what's going on with structs RAII at this point. | |||
February 01, 2017 Learn » Re: GC question | |||
|---|---|---|---|
| |||
...any leaks. Ideally I'd have a precise GC + RAII style resource management when needed. | |||
January 30, 2017 General » C++ interop | |||
|---|---|---|---|
| |||
...the main obstacles for mixed D/C++ RAII-style code are: 1) Constructors don't... | |||
January 10, 2017 Learn » Re: Getch() Problem: C vs D | |||
|---|---|---|---|
| |||
...idk how yet, that RealTimeConsoleInput thing uses RAII to change terminal state so it cannot... | |||
January 06, 2017 Learn » Re: Stack Space & Ackermann | |||
|---|---|---|---|
| |||
...heap-allocated data, such as C++'s RAII idiom. I haven't really tried that... | |||
November 29, 2016 General » Re: JTransc + Android/iOS status support | |||
|---|---|---|---|
| |||
...too right? Someone tried a wrapper using RAII to emulate partially (except for weak references... | |||
November 04, 2016 Learn » Re: What is the simplest way of doing @nogc string concatenation? | |||
|---|---|---|---|
| |||
...use sprintf + zero-terminated strings (or a RAII struct to convert slices to ZT strings). | |||
October 31, 2016 Learn » Re: general questions about static this() at module level | |||
|---|---|---|---|
| |||
...really annoying. It can be faked via RAII and static variables, but in general, using... | |||
Copyright © 1999-2021 by the D Language Foundation