<div dir="ltr"><div>hello everyone,</div><div>I have defined public variable in class ContentStoreImpl (double invalid_content)  in content-store-impl.hpp. furthermore I have change these value in ContentStoreImpl<Policy>::Add (invalid_content++;) I want to access this value through files in scratch folder . </div><div>therefore I include this path (#include "ns3/ndnSIM/model/cs/content-store-impl.h").  I want to access it before main function as below:</div><div><br></div><div>using namespace ns3;<br></div><div>void<br>CacheEntryRemoved(std::string context, Ptr<const ndn::cs::Entry> entry, Time lifetime)<br>{<br><br>if (entry->GetData()->GetSignature()!=0){<br>//ContentStoreImpl a;<br>Ptr<ndn::cs::ContentStoreImpl> content;<br>content.invalid_content--;<br>     <br>}<br>}</div><div><br></div><div>however, I have received error  (mismatch at argument 1 in template parameter list for ‘template<class T> class ns3::Ptr’)</div><div>is there anybody knows how I can access this value through this function.</div><div>I will become thankful, if I know your opinion</div><div>thanks in advance</div><div>best regards</div></div>