Meditation, The Art of Exploitation

Thinking? At last I have discovered it--thought; this alone is inseparable from me. I am, I exist--that is certain. But for how long? For as long as I am thinking. For it could be, that were I totally to cease from thinking, I should totally cease to exist....I am, then, in the strict sense only a thing that thinks.

Tuesday, September 11, 2007

C++ const correctness, boost shared_ptr and reference counting

1. what's C++ const correctness
2. how does shared_ptr work
3. how does shared_ptr gets around const correctness
4. pointer and get too smart with the compiler