<div>Hi all.<br></div><div>I'm discovering Aspect C++ and I have a some questions.</div><div></div><div>1/ How to have poincuts in function of others pointcuts ?</div><div>Exemple:</div><div>aspect A</div><div>{</div>
<div> pointcut virtual who() =0;</div><div> pointcut what()= "% who()::set%(...)"; </div><div>};</div><div></div><div>aspect B : public A </div><div>{</div><div>pointcut who() = "Z"; //what() <=> "% Z::set%(...)"</div>
<div>};</div><div></div><div>Iv' tried "%"## who() ## "set%(...)", it compiles but it catches all things.</div><div></div><div>2/ How to use tjp->that() ?</div><div>I've tried something like this</div>
<div></div><div></div><div><div>aspectC</div><div>{</div><div> pointcut who() ="What_you_want";</div><div> advice execution(who()): around ()</div><div>{</div><div>tjp->that(); // it's a void*, how to use it without a ugly cast ? Does there are some kind of templates to avoid cast ?</div>
<div>}</div><div>};</div><div></div><div>3/ I've not understood cflow. What it means ? How to use it ?</div><div></div><div>Thanks.</div><div>David Côme.</div></div>