Title
Multi-section example is confusing
Status
cd3
Section
13.7.6.2 [temp.spec.partial.match]
Submitter
CWG

Created on 2014-11-06.00:00:00 last changed 87 months ago

Messages

Date: 2015-05-15.00:00:00

Notes from the May, 2015 meeting:

This will be handled editorially; the status has been set to "review" to check that the editorial change has been made.

Date: 2022-06-11.20:21:09

The example in 13.7.6.2 [temp.spec.partial.match] paragraph 2 reads,

  A<int, int, 1>   a1;   // uses #1
  A<int, int*, 1>  a2;   // uses #2, T is int, I is 1
  A<int, char*, 5> a3;   // uses #4, T is char
  A<int, char*, 1> a4;   // uses #5, T1 is int, T2 is char, I is 1
  A<int*, int*, 2> a5;   // ambiguous: matches #3 and #5

However, the referenced numbers are defined two pages earlier, in 13.7.6.1 [temp.spec.partial.general] paragraph 3. This is confusing and should be changed.

History
Date User Action Args
2017-02-06 00:00:00adminsetstatus: review -> cd3
2015-05-25 00:00:00adminsetmessages: + msg5477
2015-05-25 00:00:00adminsetstatus: open -> review
2014-11-06 00:00:00admincreate