[Issue 16478] Don't allow to!T() in constraint

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 24 18:18:54 PST 2016


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

--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/b46ca983f217cb319e94848cb168e246c1ac9f92
Fix Issue 16478 - Don't allow to!T() in constraint

Use specialization to prefer to!S when S is a static array.

https://github.com/dlang/phobos/commit/bad369cea4d89621c98226f9231380ff6e4778d7
Merge pull request #4922 from ntrel/to-empty-args

Really fix Issue 16478 - Don't allow to!T() in constraint

--


More information about the Digitalmars-d-bugs mailing list