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

[dcl.meaning.general] Remove extern in one case to make example 3 more informative #6440

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

Conversation

Eisenwave
Copy link
Contributor

The paragraph mentions that if the declaration declares a function, or uses the extern specifier, then ...

However, the example only shows declarations which are both functions and use the extern specifier, making it less informative. This PR removes extern in one of the two declarations, to make it clear that extern isn't required, and declaring a local function in itself is enough for the paragraph to apply.

@Eisenwave Eisenwave changed the title [dcl.meaning.general] Remove extern in one case to make example 3 more informative [dcl.meaning.general] Remove extern in one case to make example 3 more informative Aug 7, 2023
@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 12, 2023

@opensdh I'd welcome your views on this!

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.

None yet

3 participants