BloombergLP::bdldfp::DecimalImpUtil::checkLiteral

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

NameDescription
tvalue used to diagnose an invalid literal