getting all the inherited classes of a class
<p>This might, most probably, not possible at all. I want to know if there is a way to get all the classes that inherit from an other. somthing like this:</p>

<pre><code>#include &lt;iostream&gt;
class A{
public:
 static string getChildren(); //&lt;- magic function
};

class B: A{};

class C: A{};

void main(){

    cout&lt;&lt; A.getChildren();


}
</code></pre>

<p>=========================== Output ================================</p>

<pre><code>B C
</code></pre>
