cplusplus / cplusplus/draft

CWG1670 makes the last paragraph of [class.conv.fct] unnecessary

Open Beginner friendly
#9,263 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

[class.conv.fct]/8 says:

A conversion function template shall not have a deduced return type ([dcl.spec.auto]).

However, there is now wording that forbids deduced return types for any conversion functions. It seems unnecessary to state this.

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 searching the draft source for the exact sentence in [class.conv.fct]/8 and read the surrounding wording, including the newer rule that already forbids deduced return types for conversion functions. Remove the redundant paragraph and verify that the generated [class.conv.fct] wording remains correct.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.