static_cast for user defined types
<p>Is it possible and why one would want to do it?</p>

<pre><code>class Foo;
class Bar;

......

Foo foo;
Bar bar = static_cast&lt;Bar&gt;(foo);
</code></pre>

<p>Normally static_cast is used with numeric types and pointers, but can it work with user defined data types, a.k.a classes?</p>
