[ndnSIM] Simple question regarding VIRTUAL_WITH_TESTS

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Fri Jul 21 16:34:38 PDT 2017


Hi,

this is a macro used by the NFD project developers for their unit tests. 

It means that a member function will be virtual for unit-testing.

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Jul 21, 2017, at 6:06 AM, madhurima.2015 at iitg.ernet.in wrote:
> 
> hi ndnSIM friends,
> 
> I often found  VIRTUAL_WITH_TESTS
> 
> e.g.,  VIRTUAL_WITH_TESTS
>       ~Forwarder();
> 
> what is the function of VIRTUAL_WITH_TESTS??

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170721/ed413992/attachment.html>


More information about the ndnSIM mailing list