cplusplus / cplusplus/draft

[dcl.init.list] Unparenthesize cross-reference

Open
#5,275 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

(3.3)
Otherwise, if T is a character array and the initializer list has a single element that is an appropriately-typed string-literal ([dcl.init.string]), initialization is performed as described in that subclause.

It feels weird to me that the wording refers to something in a parentheses. Perhaps it'd be more appropriate to replace it with the following.

(3.3)
Otherwise, if T is a character array and the initializer list has a single element that is an appropriately-typed string-literal, initialization is performed as described in [dcl.init.string].

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

The issue targets the [dcl.init.list] paragraph and its cross-references; start by locating that paragraph in the draft source. Remove the parentheses around the [dcl.init.string] reference while preserving the sentence link, then verify the rendered wording.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, tex
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.