cplusplus / cplusplus/draft

[expr.prim.id.qual]/(3.2) declarative nested-name-specifier nominating a partial specialization

Open
#5,185 0 comments 1 reaction 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

[expr.prim.id.qual]/3:

… If a nested-name-specifier N is declarative and has a simple-template-id with a template argument list A that involves a template parameter, let T be the template nominated by N without A
(3.2) — Otherwise, N nominates the partial specialization ([temp.spec.partial]) of T whose template argument list is equivalent to A ([temp.over.link]); the program is ill-formed if no such partial specialization exists.

I suspect that such partial specialization shall not only exists, but be reachable.
This issue is blessed by @opensdh

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 with [expr.prim.id.qual]/3.2 and the referenced [temp.spec.partial] rules, focusing on whether the nominated partial specialization must be reachable. The issue is resolved when the standard wording clearly reflects the required reachability condition or the concern is shown not to require a change.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.