The OpenD Programming Language

DecimalView.fromStringImpl

struct DecimalView(W)
@safe scope @trusted pure @nogc nothrow
static if(is(W == size_t))
bool
fromStringImpl
(
C
bool allowSpecialValues = true
bool allowDotOnBounds = true
bool allowDExponent = true
bool allowStartingPlus = true
bool allowUnderscores = true
bool allowLeadingZeros = true
bool allowExponent = true
bool checkEmpty = true
)
(
scope const(C)[] str
,,
int exponentShift = 0
)
if (
is(Unqual!W == size_t)
)

Return Value

Type: bool

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

Meta