Skip to content

Zig peer type resolution at comptime, ported from the compiler source code

License

Notifications You must be signed in to change notification settings

alexnask/PeerType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages