blob: a9893ab04d2493b1dc2f6b2687dd39ffe5ffc619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
namespace boost {
/*!
* \brief shared_ptr documentation stub
*
* \warning
* This isn't the real shared_ptr template. It's just enough to get doxygen
* to draw pretty collaboration diagrams.
*
* An enhanced relative of scoped_ptr with reference counted copy semantics.
* The object pointed to is deleted when the last shared_ptr pointing to it
* is destroyed or reset.
*/
template <class T>
class shared_ptr
{
public:
T* px; // contained pointer
}; // shared_ptr
} // namespace boost
|