mir.conv: to extension.
import mir.test: should; import mir.conv: to; "123.0".to!double.should == 123; "123".to!int.should == 123; "123".to!byte.should == 123; import mir.small_string; alias S = SmallString!32; "123.0".SmallString!32.to!double.should == 123;
See Implementation