Ooooh, thanks! I never knew this library existed. That's pretty cool. I'll consider using it. Under the hood, are these typedefs just class wrappers that take advantage of type punning to accomplish this fancy business?
Typedefs don't involve classes or anything that complicated. They're rather similar to Rust's type aliases.
"stdint" should be part of the libraries included with whatever compiler you're using. It should "just work" without having to install anything else.
cstdint
/stdint.h
hasint8_t
,uint8_t
, and some other typedefs you might find handy. =)Ooooh, thanks! I never knew this library existed. That's pretty cool. I'll consider using it. Under the hood, are these
typedef
s just class wrappers that take advantage of type punning to accomplish this fancy business?Typedefs don't involve classes or anything that complicated. They're rather similar to Rust's
type
aliases."stdint" should be part of the libraries included with whatever compiler you're using. It should "just work" without having to install anything else.
This is great! I'll see how I can use them properly in my side projects.