Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 883 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 883 Bytes

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.