[#BloombergLP-bdldfp-DecimalImpUtil-checkLiteral-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::checkLiteral
:relfileprefix: ../../../
:mrdocs:

Generate an error if the specified `t` is bad decimal floating&hyphen;point&period; Note that this function is intended for use with literals

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimalimputil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
void
checkLiteral(TYPE const& t);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
