convertElement
private fn
Dst convertElement(Dst, S)(S e)The single checked element-conversion primitive.
Parameters
Dst | destination element type (see isDstElem). |
S | unqualified source element type. |
e | the element value. |
Returns
The converted element.
Throws
VarException for rejected conversions (range, exactness, kind);
VarTypeException never — kind problems are value problems here.