Skip to content

Conversation

eisenwave
Copy link
Member

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.

3 participants