How to have Java liked style static initialization in C++
<p>I was wondering, is it possible to have static initialization as Java style in C++? If not, what is the alternative way?</p>

<pre><code>// .h
class A {
protected:
    static CBitmap bitmap;
};

// .cpp
CBitmap A::bitmap;
// Error!
static {
    global_initialization();
    bitmap.LoadBitmap(IDB_BITMAP);
}
</code></pre>
