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

Walter Bright <[email protected]> changed:

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

--- Comment #1 from Walter Bright <[email protected]> ---
Compilable example:

  struct FF {
    float x, y;
    ~this();
  }

  void draw(FF min, FF max);

  void test(FF *a, FF *b) {
    draw(*a, *b);
  }

If `~this();` is commented out, the arguments are passed to draw by value.

--

Reply via email to