On 5/6/2013 8:31 AM, Andrei Alexandrescu wrote:
In _this_ case, initializing A with an rvalue of type T compiles and subsequently runs with undefined behavior.
This is why D does not allow ref as a storage class for variables.
On 5/6/2013 8:31 AM, Andrei Alexandrescu wrote:
In _this_ case, initializing A with an rvalue of type T compiles and subsequently runs with undefined behavior.
This is why D does not allow ref as a storage class for variables.