|
BDE 4.39.x Production Release
|
#include <bslfmt_format_string.h>
Type that wraps a basic_string_view for use by formatting function. The constructor performs additional compile-time checks of the format string provided (not yet implemented).
Public Member Functions | |
| template<class t_STR , class = typename bsl::enable_if<bsl::is_convertible< const t_STR&, bsl::basic_string_view<t_CHAR> >::value>::type> | |
| consteval | basic_format_string (const t_STR &str) |
| BSLS_KEYWORD_CONSTEXPR bsl::basic_string_view< t_CHAR > | get () const |
Friends | |
| template<class t_INNER_CHAR > | |
| struct | Format_String_TestUpdater |
| consteval bslfmt::basic_format_string< t_CHAR, t_ARGS >::basic_format_string | ( | const t_STR & | str | ) |
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.
|
inline |
Return the wrapped basic_string_view contained by this instance.
|
friend |