https://issues.dlang.org/show_bug.cgi?id=13508

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
Array vararg functions are not safe, because they take a slice of arguments on
the stack. Example problem:
-----
class C {
    int[] data;
    this(int[] args...) {
        data = args; // oops: this.data now points to the stack...
    }
}
-----

--

Reply via email to