hi, could anyone please point me towards a good link or post a code that helps explain how these could be implemented?

thanks a lot

Recommended Answers

All 3 Replies

None of these helped?!

look at www.boost.org/doc
there are already good smart-pointers with ref counting. No need to do the work yourself ;-)

Check out http://drdobbs.com/cpp/229218807?queryText=counting+references from Dr. Dobbs last month, I don't know if it's along the lines of what you are looking for.

And yes, I agree with thekashyap, at least tell us what you've Googled about.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.