October 20, 2023 General » Re: String Interpolation Compare - DIP1027 and YAIDIP | |||
|---|---|---|---|
| |||
...escape the template function, and can be RAII'd. Dealing with a string allocated and... | |||
October 16, 2023 General » Re: Temporaries / struct RAII patterns | |||
|---|---|---|---|
| |||
So it looks like to ensure RVO (return value optimization), I need to write it... | |||
October 16, 2023 General » Re: Temporaries / struct RAII patterns | |||
|---|---|---|---|
| |||
Also I added
```d
// Disables default construction
@disable this();
// Disable copy constructor
@disable this(ref... | |||
October 16, 2023 General » Temporaries / struct RAII patterns | |||
|---|---|---|---|
| |||
Not sure how to name the problem, but here it is. I want to create... | |||
October 03, 2023 Announce » Re: implicit-context v0.0.1 | |||
|---|---|---|---|
| |||
...at a point there was such a RAII context wrapper. I didn't realize, `with... | |||
September 03, 2023 General » Implicit @Safe Resources | |||
|---|---|---|---|
| |||
...buffer = createBuffer(); //we also could use generic RAII Handle type with view method scope(exit... | |||
August 14, 2023 Learn » Re: std.experimental.allocator | |||
|---|---|---|---|
| |||
I'm not sure about why RAII is an issue, but I fully agree with... | |||
August 13, 2023 Issues » [Issue 24084] New: Add -nothrow Switch to Compiler | |||
|---|---|---|---|
| |||
...in adding stack unwinders for things like RAII objects, and preventing numerous optimizations across try... | |||
August 13, 2023 Learn » Re: std.experimental.allocator | |||
|---|---|---|---|
| |||
...not against you using RAII, however, i'm against making RAII a requirement for everyone... | |||
August 14, 2023 Learn » Re: std.experimental.allocator | |||
|---|---|---|---|
| |||
...so far. But I cannot agree about RAII. Its a valid tool for managing lifetimes... | |||
Copyright © 1999-2021 by the D Language Foundation