Skip to content

Potentially unwanted narrowing conversion #279

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

Open
DymOK93 opened this issue Feb 16, 2022 · 0 comments
Open

Potentially unwanted narrowing conversion #279

DymOK93 opened this issue Feb 16, 2022 · 0 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@DymOK93
Copy link
Owner

DymOK93 commented Feb 16, 2022

https://github.com/DymOK93/KTL/blob/master/include/optional.hpp#L70

Example:

ktl::optional<uintmax_t> opt{0};
@DymOK93 DymOK93 added the invalid This doesn't seem right label Feb 16, 2022
@DymOK93 DymOK93 self-assigned this Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant