Can a function throw derived class exception when its exception specification has base type?
<p>i have the following code.</p>

<pre><code>class Base{};
class Derived: public Base{};

class Test
{
public:
    void fun() throw(Base)
    {
        throw Derived();
    }
};

int main()
{
    Test ob; ob.fun();
}
</code></pre>

<p>Can function fun() throw exceptions of derived types when its exception specification list has base type ?</p>
