Movatterモバイル変換


[0]ホーム

URL:


Issue 1368 - WG21 CWG Issues
Title
Value initialization and defaulted constructors (part 2)
Status
cd3
Section
9.5 [dcl.init]
Submitter
Jason Merrill

Created on2011-06-28.00:00:00 last changed145 months ago

Messages

msg4171 (view)
Date: 2012-02-15.00:00:00

[Voted into the WP at the February, 2012 meeting;moved to DR at the October, 2012 meeting.]

msg3817 (view)
Date: 2011-08-15.00:00:00

Proposed resolution (August, 2011):

This issue is resolved by the resolution ofissue 1301.

msg3469 (view)
Date: 2012-11-03.00:00:00

According to the current rules of 9.5 [dcl.init], givena class like

  struct A {    int i;    A() = default;    A(int i): i(i) { }  };

value-initialization leavesA::i uninitialized. This seemslike an oversight.

History
DateUserActionArgs
2014-03-03 00:00:00adminsetstatus: drwp -> cd3
2012-11-03 00:00:00adminsetmessages: +msg4171
2012-11-03 00:00:00adminsetstatus: dr -> drwp
2012-02-27 00:00:00adminsetmessages: +msg3817
2012-02-27 00:00:00adminsetstatus: ready -> dr
2011-06-28 00:00:00admincreate

[8]ページ先頭

©2009-2026 Movatter.jp