Jaysmito101 / rusty.hpp

A Borrow Checker and Memory Ownership System for C++20 (heavily inspired from Rust)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integer literals don't check validity of input

JVApen opened this issue · comments

The integer user defined literals don't check for validity. This can easily be done with https://en.cppreference.com/w/cpp/utility/in_range and throwing an exception when not in range.