Skip to content
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

Convert constants to constant expressions #13016

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tygyh
Copy link
Contributor

@tygyh tygyh commented Aug 16, 2024

No description provided.

@Tilka
Copy link
Member

Tilka commented Aug 16, 2024

This looks like a bug in JetBrains. constexpr implies const on the pointer type, not the pointed-to type.

@tygyh tygyh force-pushed the Use-constant-expressions branch 2 times, most recently from 6f91789 to da9639a Compare August 17, 2024 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants