Unwanted conflict

Jonathan M Davis jmdavisProg at gmx.com
Sun Jul 21 11:37:12 PDT 2013


On Sunday, July 21, 2013 16:25:15 Carl Sturtivant wrote:
> That's too bad, because in the real code this example was derived
> from I can't have type inference call the right constructor as
> there are two constructors with the same run-time argument types.

You could use a factory function instead.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list