Type that wraps a basic_string_view for use by formatting functions.

Synopsis

Declared in <bslfmt_format_string.h>

template<
    class t_CHAR,
    class... t_ARGS>
class basic_format_string;

Description

The constructor performs additional compile‐time checks of the format string provided (not yet implemented).

Member Functions

Name

Description

basic_format_string [constructor]

Create an instance of this type from the specified str.

get

Return the wrapped basic_string_view contained by this instance.

Friends

Name

Description

BloombergLP::bslfmt::Format_String_TestUpdater

This is a component‐private type which enables test drivers to work around the compile‐time restrictions in basic_format_string construction.

Created with MrDocs