cplusplus / cplusplus/draft

P0792R14, [func.wrap.ref.class]: Remove redundant declaration of another undefined primary template declaration

Open
#6,275 0 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

This problem is similar to #6273 as recently added by @jwakely

The expected to be voted in paper P0792R14 suggests to
add the declaration

template<class... S> class function_ref;    // not defined

to [func.wrap.ref.class]. This declaration is redundant since the paper suggests already to add the same declaration to [functional.syn], so this should not be done. Or, if the original paper needs to be applied as suggested, this declaration should be removed afterwards through this issue here.

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

Compare the declaration proposed in P0792R14 with the declarations in [func.wrap.ref.class] and [functional.syn]. Confirm that the same function_ref primary-template declaration already appears in [functional.syn], then ensure the redundant declaration is not retained in [func.wrap.ref.class].

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.