Class property is defined as: class_property ::= { property_qualifier } data_declaration | const { class_item_qualifier } data_type const_identifier [ = constant_expression ] ; While data decl is : data_declaration14 ::= [ const ] [ var ] [ lifetime ] data_type_or_implicit list_of_variable_decl_assignments ; Above allows: class C; const static int X1; //incorect const automatic int X2; //incorect const static int X3=0; //ok const automatic int X4=0; //incorect endclass Maybe there should be some footnote on this? Or clearence in chapter about class const. DANiel -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Mar 12 02:07:38 2008
This archive was generated by hypermail 2.1.8 : Wed Mar 12 2008 - 02:08:27 PDT