This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 116a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-12-19


2269. Additional recursive references in aggregate DMIs

Section: 9.4.2  [dcl.init.aggr]     Status: dup     Submitter: Vinny Romano     Date: 2016-06-07

Issue 1696 did not fully address recursive references in default member initializers for aggregates, for example:

  struct S {
    int i = (S{}, 0);
  }; 

or

  struct S {
    int i = noexcept(S{});
  };