checkLiteral overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Overload to avoid an error when the decimal floating‐point literal (without the suffix) can be interpreted as a double literal.

static
void
checkLiteral(double);

Generate an error if the specified t is bad decimal floating‐point. Note that this function is intended for use with literals

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

Created with MrDocs