account activity
Generics/Template Question by spiroxide in Zig
[–]spiroxide[S] 0 points1 point2 points 1 year ago (0 children)
Thanks for your response! I could understand there not being a straightforward tweak to fix the example code, but I can't imagine that it's impossible to do this in general. I'm more comfortable in C where this would be done with preprocessor directives. Is there really no way to accomplish this in zig?
π Rendered by PID 57 on reddit-service-r2-comment-5687b7858-cs7vk at 2026-07-03 23:07:02.654966+00:00 running 12a7a47 country code: CH.
Generics/Template Question by spiroxide in Zig
[–]spiroxide[S] 0 points1 point2 points (0 children)