cplusplus / cplusplus/draft

[dcl.init] Explicitly define "initializer expression"

Open
#2,934 1 comment 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

In the current wording, [dcl.init] often refers to an "initializer expression" without clearly defining what that would be. In most initialization contexts, an initialization expression does not exist, and only exists when using the parenthized expression-list form of an initializer with a single expression, or the = form of a brace-or-equals-initializer. While with much effort it can be deduced from the wording (with knowledge of expected behavior), it should be explicitly defined to increase readability.

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 by reading the [dcl.init] wording and the uses of "initializer expression" described in the issue. Define the term explicitly in that section while preserving the stated initialization cases, then verify that each existing use is covered and the wording is clearer.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.