The OpenD Programming Language

BigIntView.fromStringImpl

struct BigIntView(W)
@safe scope @trusted pure @nogc nothrow
static if(isMutable!W && W.sizeof >= 4)
bool
fromStringImpl
(
C
)
(
scope const(C)[] str
)
if (
is(Unqual!W == ubyte) ||
is(Unqual!W == ushort)
||
is(Unqual!W == uint)
||
is(Unqual!W == ulong)
)

Return Value

Type: bool

false in case of overflow or incorrect string. Precondition: non-empty coefficients.

Meta