I've stumbled upon this numerous times and I wish I could automate this somehow.<div>The idea is to have some mixin templates mixed into classes automatically when they inherit from some base class.</div><div>For instance, advanced RTTI methods, which analyze the enclosing class at compile-time.</div>
<div>Unfortunately, AFAIK, there's no way of doing it automatically and one needs to both derive from a certain class and mix in a certain mixin template manually.</div><div>Is there a way to avoid the boilerplate and have it done automatically?<br clear="all">
<div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>
</div>