January 22, 2011 Learn » Re: How to use structs for RAII? | |||
|---|---|---|---|
| |||
By explicit constructor, I assume you mean one with parameters? I guess that's alright. | |||
January 22, 2011 Learn » Re: How to use structs for RAII? | |||
|---|---|---|---|
| |||
Sean Eskapp: Inside the ~this() you may put code, to deallocate resources you have allocated... | |||
January 22, 2011 Learn » How to use structs for RAII? | |||
|---|---|---|---|
| |||
...recommended to me to use structs for RAII instead of scope classes, since scope is... | |||
January 22, 2011 Learn » How to wrap SDL? | |||
|---|---|---|---|
| |||
...language (?) and to use structs instead for RAII. How should I be wrapping this SDL... | |||
January 21, 2011 General » Is it true scope declarations are being removed? | |||
|---|---|---|---|
| |||
...from the language. Is this true? If so, how will RAII-type classes be implemented? | |||
January 05, 2011 General » Re: 'delete' keyword | |||
|---|---|---|---|
| |||
...programmer, I don't really know the RAII pattern, but this and reference counting is... | |||
January 03, 2011 General » D without a GC (Was: Advocacy (Was: Who here actually uses D?)) | |||
|---|---|---|---|
| |||
...new standard library based on STL-like RAII/refcount constructs (std::string, std::vector) instead... | |||
December 26, 2010 General » Re: D vs C++ | |||
|---|---|---|---|
| |||
...parameter, etc. I wouldn't call it RAII. Cython is a separate language from Python... | |||
December 26, 2010 General » Re: D vs C++ | |||
|---|---|---|---|
| |||
...keyword). Moreover, Python makes it clear that RAII is happening by requiring a special syntax... | |||
December 26, 2010 General » Re: D vs C++ | |||
|---|---|---|---|
| |||
...5. purity 6. far faster performance 7. RAII 8. direct interface to C 9. templates... | |||
Copyright © 1999-2021 by the D Language Foundation