class C
{
private:
call();
...
private:
static T fNew(const unsigned int iOffSet);
static T fOld(const unsigned int iOffSet);
}
class B
{
public:
static super();
static unsigned int stcDeconcat(T (*pf)(const unsigned int iOffSet)=NULL);
}
C::call()
{
BFichier::super(m_iMeth?C::fNew:C::fOld);
}
B::super()
{
unsigned int nb;
...
T maVar;
if(pF)
maVar=(*pfoncMagique)(nb);
else
maVar=init();
...
}
voilà, et c'est un exemple bcp plus complexe qui a été ici simplifié....
Bonne prog
___________________________________________________________
MagicalementNono 