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

--- Comment #3 from anonymous4 <[email protected]> ---
A more meaningful example:
---
struct Address
{
        this(in char[] host, int port){}
        this(ubyte[4] ip, int port){}
}

auto addr=Address([127,0,0,1],80);
---

I wanted overloads for host name and ip address, but they are ambiguous.

--

Reply via email to