[#absl-FormatConversionCharSet] = xref:absl.adoc[absl]::FormatConversionCharSet :relfileprefix: ../ :mrdocs: Specifies the _accepted_ conversion types as a template parameter to FormatConvertResult for custom implementations of `AbslFormatConvert`. == Synopsis Declared in `<absl/strings/str_format.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class FormatConversionCharSet : uint64_t; ---- == Description Note the helper predefined alias definitions (kIntegral, etc.) below. == Members [cols="1,4"] |=== | Name| Description | `c` | Accepts the `c` (character) conversion. | `s` | Accepts the `s` (string) conversion. | `d` | Accepts the `d` (signed decimal integer) conversion. | `i` | Accepts the `i` (signed decimal integer) conversion. | `o` | Accepts the `o` (unsigned octal integer) conversion. | `u` | Accepts the `u` (unsigned decimal integer) conversion. | `x` | Accepts the `x` (unsigned hexadecimal integer) conversion. | `X` | Accepts the `X` (unsigned hexadecimal integer, uppercase) conversion. | `f` | Accepts the `f` (decimal floating‐point) conversion. | `F` | Accepts the `F` (decimal floating‐point, uppercase) conversion. | `e` | Accepts the `e` (exponential floating‐point) conversion. | `E` | Accepts the `E` (exponential floating‐point, uppercase) conversion. | `g` | Accepts the `g` (general floating‐point) conversion. | `G` | Accepts the `G` (general floating‐point, uppercase) conversion. | `a` | Accepts the `a` (hexadecimal floating‐point) conversion. | `A` | Accepts the `A` (hexadecimal floating‐point, uppercase) conversion. | `n` | Accepts the `n` (character‐count) conversion. | `p` | Accepts the `p` (pointer) conversion. | `v` | Accepts the `v` (default‐for‐deduced‐type) conversion. | `kStar` | Used for width/precision '*' specification. | `kIntegral` | Accepts any integral conversion. | `kFloating` | Accepts any floating‐point conversion. | `kNumeric` | Accepts any numeric conversion. | `kString` | Accepts the string conversion. | `kPointer` | Accepts the pointer conversion. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/operator_bitor-0a.adoc[`operator|`] | Type safe OR operator for FormatConversionCharSet to allow accepting multiple conversion chars in custom format converters. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#