phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
tryParse
nxt
conv
Try to parse
s
as a
T
.
@
safe
pure nothrow @
nogc
Result
!(
T
)
tryParse
(
T
)
(
scope
const
(
char
)[]
s
)
if
(
__traits(
isArithmetic
,
T
) &&
__traits(
isIntegral
,
T
)
)
Meta
Source
See Implementation
nxt
conv
aliases
IntegralTypes
SignedTypes
UnsignedTypes
functions
tryParse
Try to parse s as a T.