On Thu, 01 Jul 2010 18:26:06 -0400, bearophile <bearophileh...@lycos.com> wrote:

Steven Schveighoffer:
I think a member initializer has to be a constant expression, like int i =
1.  Anything else has to be done in the constructor.

There are the static constructors too, for modules, structs, classes.

static constructors don't help initialize member variables.

-Steve

Reply via email to