if(;){} opinion

Jarrett Billingsley kb3ctd2 at yahoo.com
Mon Feb 27 20:01:38 PST 2006


"Jarrett Billingsley" <kb3ctd2 at yahoo.com> wrote in message 
news:du0hqu$a7i$1 at digitaldaemon.com...
> "Georg Wrede" <georg.wrede at nospam.org> wrote in message 
> news:4403B499.2060300 at nospam.org...
>> auto for RAII is not even barely bearable. We could even use "raii" 
>> rather than "auto".

On a more serious note, I think auto for RAII makes some sense.  After all, 
the original meaning of auto in C is that the variable gets "cleaned up" and 
"goes away" when the scope exits.  The same applies for RAII, although 
perhaps since there has been an acronym invented to describe this behavior, 
it should be used instead.

Though I will have to say that "auto" looks prettier than "raii." 





More information about the Digitalmars-d mailing list