Re:Crabtime: Zig's Comptime in Rust
by listeria on Sunday March 23, 2025 @12:10PM
(#43453844)
I tried your example and got an error:
I'm not sure how you were suppossed to use it but here's my attempt:
If you allow `capitalized` to be it's own instance then there's no reason to mutate the comptime parameter in the first place, and it can be replicated in C++17.
[ Parent
| on HN ]
There are no comments on this comment yet.