Skip to content

Conversation

@frederick-vs-ja
Copy link
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
Copy link
Contributor

tkoeppe commented Oct 31, 2025

Looks reasonable, but @jensmaurer for a Core check.

Copy link
Member

@jensmaurer jensmaurer left a comment

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[meta.member] Comments for static_assert failures are incorrect

3 participants