Title
const non-static data member and PODness
Status
dup
Section
11.4.5.3 [class.copy.ctor]
Submitter
Jason Merrill

Created on 2010-03-12.00:00:00 last changed 155 months ago

Messages

Date: 2010-08-15.00:00:00

Rationale (August, 2010):

This is a duplicate of issue 1140.

Date: 2022-11-20.07:54:16

The class

    struct A {
        const int i;
    };

was previously considered a POD class, but it no longer is, because it has a non-trivial (deleted) copy assignment operator. The impact of this change is not clear.

History
Date User Action Args
2012-02-27 00:00:00adminsetmessages: + msg3856
2012-02-27 00:00:00adminsetstatus: open -> dup
2010-03-12 00:00:00admincreate