[#util-ConstevalFormatString]
= xref:util.adoc[util]::ConstevalFormatString
:relfileprefix: ../
:mrdocs:

A wrapper for a compile&hyphen;time partially validated format string

== Synopsis

Declared in `&lt;util&sol;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;unsigned int num&lowbar;params&gt;
struct ConstevalFormatString;
----

== Description

This struct can be used to enforce partial compile&hyphen;time validation of format strings, to reduce the likelihood of tinyformat throwing exceptions at run&hyphen;time&period; Validation is partial to try and prevent the most common errors while avoiding re&hyphen;implementing the entire parsing logic&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:util/ConstevalFormatString/2constructor.adoc[`ConstevalFormatString`]         [.small]#[constructor]#
| Wrap and partially validate a format string at compile time&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:util/ConstevalFormatString/fmt.adoc[`fmt`] 
| The wrapped format string&period;
|===



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