Performs nothrow and @nogc string to native type conversion.
Performs nothrow and @nogc string to native type conversion.
Single character parsing utilities.
Integer parsing utilities.
mir.conv: to extension.
import mir.conv: to; assert("123.0".to!double == 123); assert("123".to!int == 123); assert("123".to!byte == 123); import mir.small_string; alias S = SmallString!32; assert(S("123.0").to!double == 123); assert(S("123.").to!double == 123.); assert(S(".123").to!double == .123); assert(S("123").to!(immutable int) == 123);
2020 Ilya Yaroshenko, Kaleidic Associates Advisory Limited, Symmetry Investments
@nogc and nothrow Parsing Utilities