BloombergLP::bslfmt::basic_format_string::basic_format_string

Create an instance of this type from the specified str. This function only takes part in overload resolution if str is convertible to a basic_string_view. Construction is ill-formed if str is not a compile-time constant.

Synopsis

Declared in <bslfmt_format_string.h>

template<
    class t_STR,
    class = void>
requires bsl::is_convertible<
                  const t_STR&,
                  bsl::basic_string_view<t_CHAR> >::value
consteval
basic_format_string(t_STR const& str);