The following code causes compile error, but this is an example of the standard.
struct S{ mutable int i; }; const S cs; -- Summary: Const object creation with mutable field Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tatraian at inf dot elte dot hu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35101