blob: 428dd03f1af979c0d011401abb27a92de4fa6cd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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
|