Comment #0 by n8sh.secondary — 2021-03-24T16:10:52Z
---
void main()
{
import std.experimental.checkedint;
import std.conv : to;
// Error: template std.conv.toImpl cannot deduce function from argument
auto a = to!(Checked!long)("10");
}
---
Comment #1 by dlang-bot — 2021-03-24T16:14:03Z
@n8sh created dlang/phobos pull request #7912 "std.conv.to does not know how to convert a string to a std.experimental.checkedint.Checked!T" fixing this issue:
- Fix Issue 21760 - std.conv.to does not know how to convert a string to a std.experimental.checkedint.Checked!T
https://github.com/dlang/phobos/pull/7912
Comment #2 by dlang-bot — 2021-03-24T22:11:43Z
dlang/phobos pull request #7912 "std.conv.to does not know how to convert a string to a std.experimental.checkedint.Checked!T" was merged into master:
- 4596b317bb28642412877c351ef91b98f3a60610 by Nathan Sashihara:
Fix Issue 21760 - std.conv.to does not know how to convert a string to a std.experimental.checkedint.Checked!T
https://github.com/dlang/phobos/pull/7912