cplusplus / cplusplus/draft

A note in [namespace.udir] that metions "using-directive does no introduce name" should be turned to a normative rule

Open
#4,764 8 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

[namespace.udir#3]

[Note 3: A using-directive does not introduce any names. — end note]

Whether a declaration introduces a name or not is significant in certain rules, for instance:
[module.interface#3]

An exported declaration that is not a module-import-declaration shall declare at least one name.

Since there is no other normative rule in the current standard that explicitly says a using-directive declaration does not introduce any name, hence, it's necessary to make the note be a normative rule.

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

Start at [namespace.udir#3] and compare Note 3 with [module.interface#3], which the issue identifies as the relevant rule. Confirm that the normative wording preserves the stated meaning and that the note is no longer the only authority.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.