March 18, 2012 General » Re: Proposal: user defined attributes | |||
|---|---|---|---|
| |||
C# doesn't have RAII, immutable, nor the notion of threadlocal/shared types. | |||
February 20, 2012 General » Re: The Right Approach to Exceptions | |||
|---|---|---|---|
| |||
...a scope delegate, and probably something as RAII to create it and delete it when... | |||
February 11, 2012 General » Re: D- | |||
|---|---|---|---|
| |||
...would be MP. "synchronized" is better than RAII/scope because it gives the compiler more... | |||
January 24, 2012 Genel » Dosyadan bayt okumak | |||
|---|---|---|---|
| |||
...güçlü olanaklarından birisi! C++'ta olsa bir RAII sınıfı yazmak zorunda kalırdık veya daha da... | |||
January 22, 2012 General » Re: D1, D2 and the future of libraries | |||
|---|---|---|---|
| |||
...Phobos, and because it was getting usable enough. (And because I really wanted RAII structs.) | |||
January 19, 2012 Announce » D:GameVFS 0.1 | |||
|---|---|---|---|
| |||
...but made with ranges in mind, using RAII/refcounting and again, very minimal. API is... | |||
January 07, 2012 Learn » Re: Bug or feature? std.c.stdlib.exit() breaks RAII | |||
|---|---|---|---|
| |||
That's more or less what people have already said. What's more, Ashish has... | |||
January 06, 2012 Learn » Re: Bug or feature? std.c.stdlib.exit() breaks RAII | |||
|---|---|---|---|
| |||
That should have been int main. | |||
January 06, 2012 Learn » Re: Bug or feature? std.c.stdlib.exit() breaks RAII | |||
|---|---|---|---|
| |||
Just implement your own exception type, e.g. ExitException, and then use:
void main() { try... | |||
January 06, 2012 Learn » Re: Bug or feature? std.c.stdlib.exit() breaks RAII | |||
|---|---|---|---|
| |||
...in order to call scope guards and RAII, it would need to unwind the call... | |||
Copyright © 1999-2021 by the D Language Foundation