why I am not able to define those objects?
<p>I am trying to declare object's (w and x). But I am not able to do that.Why is it so? Could somebody shed some light in this?</p>

<pre><code>struct S {
    S(int);
};

void foo( double d) {
        S w = S( int(d));
        S x(( int(d))); 
}

int main() { foo(5.0); }
</code></pre>
