あれ?おっかしいなぁstd.conv.toはできるんだけど
↓とかv2.059でも行けた。でもwritelnの方にはつけるだけじゃだめぽい

import std.stdio;

void main()
{
writeln(std.conv.to!int("123"));
}