Search

October 27, 2005
Announce »
...is not RAII , is auto-typed
auto C d = new C(); // c is RAII, is...
October 26, 2005
Announce »
...RAII. The initializer is another matter, though. If it's 'new', it's not RAII...
October 26, 2005
Announce »
...arguments);

At the same time, the old RAII meaning of auto would be deprecated, as...
October 26, 2005
Announce »
...raii c = new classname();      // RAII, heap alloc
raii d = classname();          // RAII, stack alloc
auto raii...
October 26, 2005
Announce »
...share the same name as the unrelated (RAII) auto. Not only it has now that...
October 26, 2005
Announce »
...opCall to all classes, which are translated to RAII constructors when invoked from an initializer ;)
October 26, 2005
Announce »
...to RAII anymore? I.e. would I also be able to create a RAII object...
October 26, 2005
Announce »
...get confusing very quickly.

IMHO the non-RAII keyword should be something different. I think...
October 25, 2005
Announce »
...an RAII class object would be:

    auto c = classname(arguments);

and a non-RAII class...
September 28, 2005
Learn »
Very much agreed.  Cross-scope RAII is awkward to impossible in D, while shared_ptr...
146 147 148 149 150 151 152 153 154 155 156
Next ›   Last »