Skip to content

Fix rule::parse overload for non-narrowing incompatible types#41

Merged
saki7 merged 1 commit intomainfrom
fix-rule-narrowing-overload
Feb 18, 2026
Merged

Fix rule::parse overload for non-narrowing incompatible types#41
saki7 merged 1 commit intomainfrom
fix-rule-narrowing-overload

Conversation

@saki7
Copy link
Copy Markdown
Member

@saki7 saki7 commented Feb 18, 2026

Previously, the = delete candidate which was intended for detecting narrowing conversion was incorrectly selected for any two combination of unexchangeable arbitrary types, leading in a spurious compiler error.

This PR refines the constraints.

@saki7 saki7 self-assigned this Feb 18, 2026
@saki7 saki7 added the bug Something isn't working label Feb 18, 2026
@cppwarningnotifier
Copy link
Copy Markdown

EnvironmentC++23C++26
x4Clang21Debug✅success✅success
Release✅success✅success
GCC14Debug✅success✅success
Release✅success✅success
MSVC2022Debug✅success✅success
Release✅success✅success
2026Debug✅success✅success
Release✅success✅success

@saki7 saki7 merged commit e811b03 into main Feb 18, 2026
34 checks passed
@saki7 saki7 deleted the fix-rule-narrowing-overload branch February 18, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant