Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[dcl.init.general]/21 "Destroying a scalar type" typo

Open Beginner friendly
#9,346 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

The issue points to a specific line in source/declarations.tex (line 5532) where a typo exists: 'Destroying a scalar type' should be 'Destroying a scalar type object'. Open that file, locate the line, and insert the missing word 'object'. Verify the change by checking the surrounding context and ensuring the LaTeX compiles correctly.

Written by the indexing model from the issue text.

Description

[dcl.init.general]/21 should be

... Destroying an object of class type invokes the destructor of the class. Destroying a scalar type object has no effect other than ending the lifetime of the object ([basic.life]). Destroying an array destroys each element in reverse subscript order.

https://github.com/cplusplus/draft/blob/e908596f0b9031e53f334f375f86367808bb99e9/source/declarations.tex#L5532

Dominant language
TeX
Stars
221
Forks
813
Avg merge
17h 45m
Merged PRs (30d)
34

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.

More from cplusplus/draft

All issues in cplusplus/draft

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.