Specifies the formatting character provided in the format string passed to StrFormat().

Synopsis

Declared in <absl/strings/str_format.h>

enum class FormatConversionChar : uint8_t;

Members

Name

Description

c

Character conversion.

s

String conversion.

d

Signed decimal integer conversion.

i

Signed decimal integer conversion.

o

Unsigned octal integer conversion.

u

Unsigned decimal integer conversion.

x

Unsigned hexadecimal integer conversion.

X

Unsigned hexadecimal integer conversion, uppercase.

f

Floating‐point conversion in decimal notation.

F

Floating‐point conversion in decimal notation, uppercase.

e

Floating‐point conversion in exponential notation.

E

Floating‐point conversion in exponential notation, uppercase.

g

Floating‐point conversion in decimal or exponential notation.

G

Floating‐point conversion in decimal or exponential notation, uppercase.

a

Floating‐point conversion in hexadecimal exponential notation.

A

Floating‐point conversion in hexadecimal exponential notation, uppercase.

n

Character‐count conversion.

p

Pointer conversion.

v

Default conversion for the deduced type.

Created with MrDocs