Skip to content

[meta.member] Properly introduce intended implicit conversion - #8245

Merged
tkoeppe merged 1 commit into
cplusplus:mainfrom
frederick-vs-ja:meta-member-conv
Nov 2, 2025
Merged

[meta.member] Properly introduce intended implicit conversion#8245
tkoeppe merged 1 commit into
cplusplus:mainfrom
frederick-vs-ja:meta-member-conv

Conversation

@frederick-vs-ja

Copy link
Copy Markdown
Contributor

Previously, the static_assert the example failed due to deduction failure but not false results. This PR makes the template arguments fully specified, which allows intended implicit conversion.

Fixes #8240.

Previously, the `static_assert` the example failed due to deduction
failure but not `false` results. This PR makes the template arguments
fully specified, which allows intended implicit conversion.
@tkoeppe

tkoeppe commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

Looks reasonable, but @jensmaurer for a Core check.

@jensmaurer jensmaurer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.

@tkoeppe
tkoeppe merged commit 2be3924 into cplusplus:main Nov 2, 2025
2 checks passed
@frederick-vs-ja
frederick-vs-ja deleted the meta-member-conv branch November 2, 2025 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants