So if you have a namespace like std::tr1 you can rename it likewise
namespace tr1=std::tr1; // New name will be tr1 using namespace tr1; // Using this new name
Finally good news for MFC developers as Microsoft has made Visual C++ 2008 Libraries Extension Feature Pack Final Release!
I’m back in business, hip hip hurray! 😀
Some classes in TR1 that I am working on…
- shared_ptr – The most useful feature in TR1.
Manages pointers via reference counting, as the name says the pointer is shared among different instances of shared_ptr objects. As one object goes out of scope it destroys itself reducing reference count, so as the last object is destroyed the pointer itself gets destroyed since reference count then becomes zero. Much like COM AddRef and Release.
Will add more as I get time!