checkLiteral overloads
Declared in <bdldfp_decimalimputil.h>
Accept a double so valid unsuffixed floating literals are allowed.
static
void
checkLiteral(double value);
» more...
Generate an error if t is not a valid decimal floating-point literal.
template<class TYPE>
static
void
checkLiteral(TYPE const& t);
» more...
| Name | Description |
|---|---|
| value | double value from an unsuffixed floating literal |
| t | value used to diagnose an invalid literal |