fn() lexicalCastWithException
Interpret the character sequence in source as the numeric value and write to target.

Defined in <seqan/stream.h>
Signature void lexicalCastWithException(target, source);

Parameters

target A numeric value to write to.
source The source sequence of char to convert.

Thrown Exceptions

BadLexicalCast in the case that casting failed

Detailed Description

See lexicalCast for examples.