cplusplus / cplusplus/draft

[class.local] p1 Improve the definition of local class

Open
#5,814 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

[class.local] p1 says

A class can be declared within a function definition; such a class is called a local class.

It seems to be more consistent if we change the definition to

A class for which the target scope of its declaration is or is contained by a block scope is called a local class.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the [class.local] definition in the TeX draft source and compare it with the replacement wording proposed in the issue. Done means the definition uses the requested target-scope and block-scope wording and the rendered draft reflects the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, tex
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.