|
|
|
|
|
by stonemetal
4550 days ago
|
|
Pointers can be null references can not, therefore if you use a reference then you are communicating nulls not allowed. You can't new or delete with a reference, so you are saying something about the lifetime of the object referenced(That this code absolutely refuses to manage it). |
|
To talk about lifetimes, you need linear logic in the core language. Merely having destructors is not enough.