November 22, 2006 General » Re: OSNews article about C++09 degenerates into C++ vs. D discussion | |||
|---|---|---|---|
| |||
I know Sean suggested scope (RAII) but how about: File file = new FileStream(...); scope(exit... | |||
November 21, 2006 General » Re: OSNews article about C++09 degenerates into C++ vs. D discussion | |||
|---|---|---|---|
| |||
s/RIAA/RAII/ But I wonder what RIAA features DMD could add. | |||
November 21, 2006 General » Re: OSNews article about C++09 degenerates into C++ vs. D discussion | |||
|---|---|---|---|
| |||
...writes can be done atomically with the functions in std.file, without need for RAII. | |||
November 20, 2006 General » Re: OSNews article about C++09 degenerates into C++ vs. D discussion | |||
|---|---|---|---|
| |||
...RAII usage is for managing memory, and Boris didn't say why he needed RAII... | |||
November 20, 2006 General » Re: OSNews article about C++09 degenerates into C++ vs. D discussion | |||
|---|---|---|---|
| |||
Can you do RAII with them? I thought that a struct cannot have a destructor... | |||
November 19, 2006 General » Re: OSNews article about C++09 degenerates into C++ vs. D discussion | |||
|---|---|---|---|
| |||
...nicely; if Walter extends it to support RAII member data, as he's mentioned a... | |||
November 17, 2006 General » structs and opAssign -- why not? | |||
|---|---|---|---|
| |||
...s no compelling use case". I think RAII is a compelling use case. Expression templates... | |||
November 15, 2006 General » OT: Properties, was RAII, value classes and implicit conversion | |||
|---|---|---|---|
| |||
It's practical, I've been bitten by it. Otherwise I probably would have never... | |||
November 15, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
Thanx for pointing this out, I had missed that button. I will definitely start using... | |||
November 15, 2006 Announce » Re: DMD 0.174 release | |||
|---|---|---|---|
| |||
...deprecations, and very glad to see a new RAII term that fits. -- Chris Nicholson-Sauls | |||
Copyright © 1999-2021 by the D Language Foundation