Elektrine lite

← Feed

@nick@donotsta.re

Post #1661613

2026-04-08 08:55 UTC

Another use-case for clang-query: Finding instances of std::uint8_t being written to std::cout. std::uint8_t is usually (but not necessarily) a typedef to unsigned char and will be printed as if it were a character, not an integer! Edit: there is a predefined check 'bugprone-unintended-char-ostream-output' for this

Replies (0)

No replies.