According to 6.3.5 -- "A static constant declared with the const keyword can be set to an expression of literals, parameters, local parameters, genvars, enumerated names, a constant function of these, or other constants. [...] An automatic constant declared with the const keyword can be set to any expression that would be legal without the const keyword." >There are no special restrictions on the initializers of static data declarations >or even const declarations. Wouldn't the following be illegal for a static constant c? int v = 0; const int c = v; -- BradReceived on Tue Aug 8 08:47:35 2006
This archive was generated by hypermail 2.1.8 : Tue Aug 08 2006 - 08:47:46 PDT