Re:What Is Zig's Comptime?
by Jayschwa on Friday August 09, 2019 @11:15AM
(#20655108)
There is a proposal for adding type constraints to generic functions. That doesn't mean it will necessarily be added, but it's something the community is thinking about.
https://github.com/ziglang/zig/issues/1669