wg21.cmeerw.net

Proposed resolution (November, 2009):

Change 13.9.4 [temp.expl.spec] paragraph 14 as follows:

An explicit specialization of a function template is inline only if it is explicitly declared to be with the inline specifier or defined as deleted, and independently of whether its function template is inline. [Example:...

According to 13.9.4 [temp.expl.spec] paragraph 14,

An explicit specialization of a function template is inline only if it is explicitly declared to be...

This could be read to require that the inline keyword must appear in the declaration. However, 9.6 [dcl.fct.def] paragraph 10 says that a deleted function is implicitly inline, so it should be made clear that defining an explicit specialization as deleted makes it inline.

History Date User Action Args 2010-03-29 00:00:00adminsetmessages: + msg2741 2010-03-29 00:00:00adminsetstatus: tentatively ready -> cd2 2010-02-16 00:00:00adminsetmessages: + msg2513 2010-02-16 00:00:00adminsetstatus: drafting -> tentatively ready 2009-06-19 00:00:00admincreate

Read the original on wg21.cmeerw.net ↗