|
From: | Thomas Maeder |
Subject: | Re: Static class member initialization buggy? |
Date: | Tue, 11 Dec 2001 21:49:24 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.6) Gecko/20011120 |
Johnny Wezel wrote: > x.h: > ==== > class X { > ... > static short type; > } > > x.cc: > ===== > > short X::type = nextType++; How do you make sure that nextType is initialized before X::type?
[Prev in Thread] | Current Thread | [Next in Thread] |