summaryrefslogtreecommitdiff
path: root/docs/doxygen/other/shared_ptr_docstub.h
blob: 0b9cfc53d363062823db037e8aca6a916d42648e (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 std {
/*!
 * \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 std