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


1996. Reference list-initialization ignores conversion functions

Section: 9.4.5  [dcl.init.list]     Status: drafting     Submitter: Richard Smith     Date: 2014-09-04

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};