Title
Reference list-initialization ignores conversion functions
Status
drafting
Section
9.4.5 [dcl.init.list]
Submitter
Richard Smith

Created on 2014-09-04.00:00:00 last changed 107 months ago

Messages

Date: 2014-09-04.00:00:00

The specification for list-initialization of a reference does not consider the existence of conversion functions. Consequently, the following example is ill-formed:

  struct S { operator struct D &(); } s;
  D &d{s};
History
Date User Action Args
2016-02-15 00:00:00adminsetstatus: open -> drafting
2014-09-04 00:00:00admincreate