Danny Wilson <[email protected]> wrote:
So if pointers wouldn't be considered evil, Maybe!T* would suffice?Can someone point me out what the big difference is between ref and simply disallowing pointer arithmitic? Is it marketing?
Well, for one, we don't want to disallow pointer arithmetic. Then, we introduce pointers without pointer arithmetic, and call them references. Best of both worlds. -- Simen
