Skip to content

taylordotfish/integral_constant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

integral_constant

This crate provides type-level representations of constant values. The name integral_constant is a reference to std::integral_constant in C++, which serves a similar purpose. Unlike std::integral_constant, this crate provides separate wrapper types depending on the type of the constant value, since the type of const generics in Rust cannot depend on type parameters.

Documentation

Documentation is available on docs.rs.

License

integral_constant is licensed under version 2 of the Apache License. See LICENSE.

Contributing

By contributing to integral_constant, you agree that your contribution may be used according to the terms of integral_constant’s license.

About

Type-level representations of constant values in Rust

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages