The sign specifier controlling how the sign of a numeric value is formatted.

Synopsis

Declared in <fmt/base.h>

enum class sign : int;

Members

Name

Description

none

No sign specifier given; the default for the argument type is used.

minus

Show a sign only for negative numbers ('‐').

plus

Always show a sign ('+').

space

Use a space for the sign of non‐negative numbers (' ').

Created with MrDocs