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

Synopsis

Declared in <bdldfp_decimalimputil.h>

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

Description

Note that this function is intended for use with literals.

Parameters

Name

Description

t

value used to diagnose an invalid literal

Created with MrDocs