fn() lexicalCastWithExceptionInterpret the character sequence in source as the numeric value and write to target.
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. |
Detailed Description
See lexicalCast for examples.
Thrown Exceptions
BadLexicalCast |
in the case that casting failed |
|---|
Data Races
If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.