Null references

Simen Kjaeraas simen.kjaras at gmail.com
Wed Aug 22 10:53:32 PDT 2012


On Wed, 22 Aug 2012 19:37:09 +0200, Ziad Hatahet <hatahet at gmail.com> wrote:

> C++ and D have language constructs to allow you to cast away const-ness  
> and
> immutability, does that mean we have to do away with the concept just
> because there is a way around it?

No, but a cast sticks out like a sore thumb. foo.get().bar() does not.

-- 
Simen


More information about the Digitalmars-d mailing list