October 27, 2006 Learn » 'raii' for structs | |||
|---|---|---|---|
| |||
...ROUNDTOZERO); : : : setRoundingMode(oldmode); } It's a classic RAII situation. In C++, you'd do it... | |||
October 16, 2006 Learn » Re: destructors and GC again | |||
|---|---|---|---|
| |||
...explicitly delete it or use 'auto' (meaning RAII this time).
e.g.
void somefunc()
{
auto... | |||
September 29, 2006 General » Re: First Impressions | |||
|---|---|---|---|
| |||
...them, before they realise that the acronym RAII is a filthy lie. Akin only to... | |||
September 29, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
...search the D newsgroup archives here on RAII. I promise you you'll be both... | |||
September 29, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
...anyone listening: RAII stands for Resource Allocation Is Initialization. You can do RAII without automatically... | |||
September 29, 2006 General » Re: Signals and Slots in D | |||
|---|---|---|---|
| |||
...but I still think we can use RAII + c-heap. We just need 1 extra... | |||
September 29, 2006 General » Re: Signals and Slots in D | |||
|---|---|---|---|
| |||
Couldn't we use malloc/free + RAII for that? ...auto_ptr<>? | |||
September 29, 2006 General » Re: First Impressions | |||
|---|---|---|---|
| |||
...y = 20; auto var f = new Foo(); // this will be RAII and automatically type-determined | |||
September 29, 2006 General » First Impressions | |||
|---|---|---|---|
| |||
...newsgroups, it seems like 'auto' as local raii and 'auto' as automatic type deduction are... | |||
September 14, 2006 General » Re: Design Patterns == weakness in language | |||
|---|---|---|---|
| |||
...It isn't the RAII pattern, but it can replace the RAII pattern in many... | |||
Copyright © 1999-2021 by the D Language Foundation