Skip to content

Commit bbb60d0

Browse files
authored
Add backticks in <bit> header reference
1 parent bb3908d commit bbb60d0

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

docs/standard-library/bit.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ For example, there are functions to rotate bits, find the number of consecutive
1313

1414
## Requirements
1515

16-
**Header:** \<bit>
16+
**Header:** `<bit>`
1717

18-
**Namespace:** std
18+
**Namespace:** `std`
1919

2020
[`/std:c++20`](../build/reference/std-specify-language-standard-version.md) or later is required.
2121

@@ -25,24 +25,24 @@ For example, there are functions to rotate bits, find the number of consecutive
2525

2626
| Type | Description |
2727
|--------|----------|
28-
| [endian](bit-enum.md) | Specifies the endianness of scalar types. |
28+
| [`endian`](bit-enum.md) | Specifies the endianness of scalar types. |
2929

3030
### Functions
3131

3232
| Function | Description |
3333
|-----|-----|
34-
|[bit_cast](bit-functions.md#bit_cast) | Reinterpret the object representation from one type to another. |
35-
|[bit_ceil](bit-functions.md#bit_ceil) | Find the smallest power of two greater than or equal to a value. |
36-
|[bit_floor](bit-functions.md#bit_floor) | Find the largest integral power of two not greater than a value. |
37-
|[bit_width](bit-functions.md#bit_width) | Find the smallest number of bits needed to represent a value. |
38-
|[countl_zero](bit-functions.md#countl_zero) | Count the number of consecutive bits set to zero, starting from the most significant bit. |
39-
|[countl_one](bit-functions.md#countl_one) | Count the number of consecutive bits set to one, starting from the most significant bit. |
40-
|[countr_zero](bit-functions.md#countr_zero) | Count the number of consecutive bits set to zero, starting from the least significant bit. |
41-
|[countr_one](bit-functions.md#countr_one) | Count the number of consecutive bits set to one, starting from the least significant bit. |
42-
|[has_single_bit](bit-functions.md#has_single_bit) | Check if a value has only a single bit set to one. This is the same as testing whether a value is a power of two. |
43-
|[popcount](bit-functions.md#popcount) | Count the number of bits set to one. |
44-
|[rotl](bit-functions.md#rotl) | Compute the result of a bitwise left-rotation. |
45-
|[rotr](bit-functions.md#rotr) | Compute the result of a bitwise right-rotation. |
34+
|[`bit_cast`](bit-functions.md#bit_cast) | Reinterpret the object representation from one type to another. |
35+
|[`bit_ceil`](bit-functions.md#bit_ceil) | Find the smallest power of two greater than or equal to a value. |
36+
|[`bit_floor`](bit-functions.md#bit_floor) | Find the largest integral power of two not greater than a value. |
37+
|[`bit_width`](bit-functions.md#bit_width) | Find the smallest number of bits needed to represent a value. |
38+
|[`countl_zero`](bit-functions.md#countl_zero) | Count the number of consecutive bits set to zero, starting from the most significant bit. |
39+
|[`countl_one`](bit-functions.md#countl_one) | Count the number of consecutive bits set to one, starting from the most significant bit. |
40+
|[`countr_zero`](bit-functions.md#countr_zero) | Count the number of consecutive bits set to zero, starting from the least significant bit. |
41+
|[`countr_one`](bit-functions.md#countr_one) | Count the number of consecutive bits set to one, starting from the least significant bit. |
42+
|[`has_single_bit`](bit-functions.md#has_single_bit) | Check if a value has only a single bit set to one. This is the same as testing whether a value is a power of two. |
43+
|[`popcount`](bit-functions.md#popcount) | Count the number of bits set to one. |
44+
|[`rotl`](bit-functions.md#rotl) | Compute the result of a bitwise left-rotation. |
45+
|[`rotr`](bit-functions.md#rotr) | Compute the result of a bitwise right-rotation. |
4646

4747
## See also
4848

0 commit comments

Comments
 (0)