C++ behaviour when const
<p>Here's a basic struct (I hope)</p>

<pre><code>struct SomeType {
    float a;
    float b;
    float c;
    float d;

    SomeType(float, float, float, float);
};
</code></pre>

<p>And source</p>

<pre><code>SomeType::SomeType(float na, float nb, float nc, float nd) : a(na), b(nb), c(nc), d(nd) {}
</code></pre>

<p>The I have a class</p>

<pre><code>struct SomeClass {
    static const SomeType v;

    SomeClass();
};
</code></pre>

<p>When I then initialise it</p>

<pre><code>const SomeType SomeClass::v(0,0,0,0);
</code></pre>

<p>My vales become inf or nan or -nan. Anyone seen this before, or know how to fix it?</p>

<p>Edit: Fixed type</p>

<p>Edit: This is quite close to my original example. I multiple classes with similar structure to SomeClass.</p>
