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

Nick Treleaven <n...@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n...@geany.org

--- Comment #1 from Nick Treleaven <n...@geany.org> ---
It's not clear what the original code and the problem with the linker was. Just
to check, without the constraint, this code is fine:

struct S{
  this (Elements...)(Elements elements){...}
  this (Element element){...}
}

S s = S(Element.init);

The above call matches this(Element), the constructor template is less
specialized.

--

Reply via email to