[Ns-developers] ns3: Signals

mathieu lacage Mathieu.Lacage at sophia.inria.fr
Tue Mar 13 11:23:18 PDT 2007


On Tue, 2007-03-13 at 18:06 +0000, Gustavo Carneiro wrote:

>         1) If you don't care about making ::Remove O(1), you could
>         also use the
>         Callback<>::IsEqual method and make it O(n). IsEqual does what
>         you
>         expect. i.e., the following expression evaluates to true:
>         
>         MakeCallback(&MyFunction).IsEqual (MakeCallback (&MyFunction))
> 
> I did it in rev 835186b9beb9.  But it doesn't compile because the
> IsEqual method that you mention doesn't seem to exist (?).  Are you
> sure about that? 

erm. I think I pushed this code only in the tracing branch because I
needed it there. Sorry about this. You could pull the callback.h header
from this branch for your code.

Mathieu




More information about the Ns-developers mailing list