This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-11-11


980. Explicit instantiation of a member of a class template

Section: 13.9.3  [temp.explicit]     Status: CD2     Submitter: Doug Gregor     Date: 14 October, 2009

[Voted into WP at March, 2010 meeting.]

13.9.3 [temp.explicit] paragraph 1 says,

An explicit instantiation of a function template shall not use the inline or constexpr specifiers.

This wording should be revised to apply to member functions of class templates as well.

Proposed resolution (February, 2010):

Change 13.9.3 [temp.explicit] paragraph 1 as follows:

...An explicit instantiation of a function template or member function of a class template shall not use the inline or constexpr specifiers.