checkLiteral overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Accept a double so valid unsuffixed floating literals are allowed.

static
void
checkLiteral(double value);

Generate an error if t is not a valid decimal floating‐point literal.

template<class TYPE>
static
void
checkLiteral(TYPE const& t);

Parameters

Name

Description

value

double value from an unsuffixed floating literal

t

value used to diagnose an invalid literal

Created with MrDocs