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


2632. 'user-declared' is not defined

Section: Clause 3  [intro.defs]     Status: drafting     Submitter: Anoop Rana     Date: 2022-09-07

The term "user-declared" is used 30 times throughout the standard, but it is not defined.

Proposed resolution:

Add a new entry after 3.64 [defns.unspecified] as follows:

user-declared [defns.user.declared]

not implicitly declared

CWG 2024-06-14

The proposed resolution does not work, because utterances such as "a default constructor is implicitly declared if no constructor is user-declared" become circular. The eventual definition should address the question whether constructors inherited from a base class are considered user-declared in the inheriting class.