Did anyone give these smart pointers (auto_any, scoped_any, shared_any) a test drive?
Posted
by Johann Gerell
on Stack Overflow
See other posts from Stack Overflow
or by Johann Gerell
Published on 2010-03-26T07:15:09Z
Indexed on
2010/03/26
7:43 UTC
Read the original article
Hit count: 388
I'm investigating smart pointers with "shared" functionality for Windows CE and Mobile, where the VS 2008 tr1 std::shared_ptr
cannot be used (due to linkage to a v.9 dll not present on CE, obviously, if I understand it correctly).
There's a semi-old MSDN Magazine article with sources from a Microsoftie (Eric Niebler): Achieve More Reliable Resource Management with Our Custom C++ Classes.
The reasoning, design and implementation of his shared_any
looks solid, but I'm wondering if anyone ever actually tested the lot on any platform (not necessarily WinCe/WM)?
© Stack Overflow or respective owner