3 ms·
The alternative is `std::optional` which works exactly the same as Rust's `Option` (without the niche optimisation). I'm not a C programmer but I imagine you c
by IshKebab 3y ago
The alternative is `std::optional` which works exactly the same as Rust's `Option` (without the niche optimisation).
I'm not a C programmer but I imagine you could make something like `std::optional` in C using structs and macros and whatnot.