Title
Incomplete restrictions on same meaning for same tokens
Status
tentatively ready
Section
6.3 [basic.def.odr]
Submitter
Jay Ghiron

Created on 2026-08-27.00:00:00 last changed yesterday

Messages

Date: 2026-09-03.23:06:47

Proposed resolution (approved by CWG 2026-09-01):

Change in 6.3 [basic.def.odr] bullet 16.10 as follows:

  • ...
  • In each such definition, the possibly overloaded operators referred to, the implicit calls to conversion functions, constructors, operator new functions and operator delete functions and allocation and deallocation functions shall refer to the same function.
  • ...
Date: 2026-08-27.00:00:00

(From submission #994.)

The one-definition rule pivots around the model of "same tokens with same meaning". The existing wording is insufficient to cover optionally overloaded operators (i.e. comma and address-of).

History
Date User Action Args
2026-09-03 23:06:47adminsetstatus: open -> tentatively ready
2026-08-30 20:49:47adminsetmessages: + msg8674
2026-08-27 00:00:00admincreate