Create an instance of this type from the specified str.

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);

Description

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.

Parameters

Name

Description

str

format string used to initialize this object

Created with MrDocs