Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new_assert implementations #57

Merged
merged 1 commit into from
Sep 7, 2024
Merged

Conversation

jjanowsk
Copy link
Contributor

Add new_assert implementations that can verify prefix length at compile time.
That allows users to create const items of IpvXNet type. When called not from
a const context it will panic at runtime when prefix length is incorrect.

Add new_assert implementations that can verify prefix length at
compile time. That allows users to create const items of IpvXNet type.
When called not from a const context it will panic at runtime when
prefix length is incorrect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants