I cannot get std::tr1::shared_ptr for my WinMobile project since the STL for WinCE is maintained by a different team at Microsoft 🙁 aarrgh…
Anyone worked with another thread-safe, reference counting smart pointers? I’m actually using yasper which seems to be good.
Thank you very much.
I’d also recommend boost::shared_ptr. You can do what I did for a library, and use a #define to switch between std::tr1::shared_ptr and boost::shared_ptr, depending on the capabilities of the compiler. That way your code doesn’t need to be modified [much] if/when the CE team add tr1 support. Just my 2c.