From Jason Turner

[format.type.int]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp7rtmjhp5/{from.md → to.md} +13 -0
tmp/tmp7rtmjhp5/{from.md → to.md} RENAMED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ **Table: Meaning of type options for integer types** <a id="format.type.int">[format.type.int]</a>
2
+
3
+ | Type | Meaning |
4
+ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
5
+ | `b` | `to_chars(first, last, value, 2)`; \indextext{base prefix}% the base prefix is `0b`. |
6
+ | % `B` | The same as `b`, except that \indextext{base prefix}% the base prefix is `0B`. |
7
+ | % `c` | Copies the character `static_cast<charT>(value)` to the output. Throws `format_error` if `value` is not in the range of representable values for `charT`. |
8
+ | % `d` | `to_chars(first, last, value)`. |
9
+ | % `o` | `to_chars(first, last, value, 8)`; \indextext{base prefix}% the base prefix is `0` if `value` is nonzero and is empty otherwise. |
10
+ | % `x` | `to_chars(first, last, value, 16)`; \indextext{base prefix}% the base prefix is `0x`. |
11
+ | % `X` | The same as `x`, except that it uses uppercase letters for digits above 9 and \indextext{base prefix}% the base prefix is `0X`. |
12
+ | % none | The same as `d`. *If the formatting argument type is `charT` or `bool`, the default is instead `c` or `s`, respectively.* |
13
+