|
codex
|
#include <bit>
Namespaces | |
| namespace | n0 |
| namespace | n1 |
Typedefs | |
| using | u8 = std::uint8_t |
Functions | |
| u8 | to_mask (bool b) |
| u8 | to_mask_u8 (u8 x) |
| u8 | n0::set (u8 x) |
| u8 | n1::set (u8 x, u8 f0, u8 f1) |
| template<std::unsigned_integral T> | |
| int | tzcnt (T n) |
| void | print (u8 x) |
| void | test (u8 x) |
| int | main (void) |
| using u8 = std::uint8_t |
| int main | ( | void | ) |

| void print | ( | u8 | x | ) |

| void test | ( | u8 | x | ) |

| u8 to_mask | ( | bool | b | ) |



| int tzcnt | ( | T | n | ) |