Categories
Libraries
  • Github CLI
  • SSH
  • HTTPS
Clone Repo

PeerType

API

/// types must be an iterable of types (tuple, slice, ptr to array)
pub fn PeerType(comptime types: anytype) ?type;
pub fn coercesTo(comptime dst: type, comptime src: type) bool;
pub fn requiresComptime(comptime T: type) bool;

License

MIT

About
Zig peer type resolution at comptime, ported from the compiler source code
Owner
alexnask (User)
Last Commit
2021-01-06
Latest Release
Latest Release Date
Created
2020-11-19