Negative

Don Clugston dac at nospam.com.au
Wed Mar 1 23:36:20 PST 2006


Walter Bright wrote:

> RAII is for managing resources, which is different from managing state 
> or transactions.

This is a fantastic summary statement. I'd like to see it in the docs.
(In fact, error.html should have a link to exception-safe.html. Right 
now, error.html is (for a C++ programmer at least) a "motherhood"
statement that doesn't have any D-specific substance).

  try-catch is still needed, as on_scope doesn't catch
> exceptions. 




More information about the Digitalmars-d mailing list