This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 112e. See for the official list.


2016. Confusing wording in description of conversion function

Section:  [class.conv.fct]     Status: CD4     Submitter: Daniel Krügler     Date: 2014-10-05

[Moved to DR at the October, 2015 meeting.]

The statement in [class.conv.ctor] paragraph 1,

No return type can be specified.

is confusing, since a conversion operator has a return type. It would be more precise to phrase the restriction in terms of the permissible decl-specifiers in the function's decl-specifier-seq. The next sentence is also problematic,

If a conversion function is a member function, the type of the conversion function ( [dcl.fct]) is “function taking no parameter returning conversion-type-id”.

as it implies that a conversion function might not be a member function.

Proposed resolution (May, 2015):

This issue is resolved by the resolution of issue 1990.