Title
Type of an explicit instantiation of a variable template
Status
cd5
Section
13.9.3 [temp.explicit]
Submitter
Larisse Voufo

Created on 2013-08-05.00:00:00 last changed 40 months ago

Messages

Date: 2017-07-15.00:00:00

[Voted into the WP at the July, 2017 meeting.]

Date: 2017-05-15.00:00:00

Proposed resolution (May, 2017):

This issue is resolved by the resolution of issue 1704.

Date: 2013-10-14.00:00:00

It is not clear to what extent the type in an explicit instantiation must match that of a variable template. For example:

  template<typename T> T var = T();
  template float var<float>;   // #1.
  template int* var<int>;      // #2.
  template auto var<char>;     // #3.

(See also issue 1704.)

History
Date User Action Args
2020-12-15 00:00:00adminsetstatus: drwp -> cd5
2018-02-27 00:00:00adminsetmessages: + msg6151
2018-02-27 00:00:00adminsetmessages: + msg6150
2018-02-27 00:00:00adminsetstatus: drafting -> drwp
2013-10-14 00:00:00adminsetstatus: open -> drafting
2013-08-05 00:00:00admincreate