cpp/utility/format/basic format string

Class template wraps a std and performs compile-time format string checks at construction time.

Member functions
{{member | 1={{small|std::basic_format_string::}}basic_format_string |2= {{dcl begin}} {{dcl | 1= template< class T > consteval basic_format_string( const T& s ); }} {{dcl end}}

Constructs a {{tt|basic_format_string}} object that stores a view of string {{tt|s}}. If the argument is not a compile-time constant, or if it cannot be parsed as a format string for the formatting argument types {{tt|Args}}, the construction is ill-formed.

{{cpp/enable if|{{c|const T&}} models {{c|std::convertible_to>}}.}}

Parameters
}}