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

Correct syntax for const pointer const #488

Merged
merged 1 commit into from
Jun 29, 2023
Merged

Correct syntax for const pointer const #488

merged 1 commit into from
Jun 29, 2023

Conversation

Jan200101
Copy link
Contributor

const char const* would be the same as const char* because of the location of the star (*)

const char *const would be the correct syntax, a constant pointer pointing to constant data.

@pg9182 pg9182 merged commit d7f8dd7 into R2Northstar:main Jun 29, 2023
@Jan200101 Jan200101 deleted the PR/const-pointer-const branch June 22, 2024 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants