From 947e5c041a6c3677d9664831784d6d0edcaea1fd Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Fri, 30 Sep 2016 21:50:30 +0200 Subject: [PATCH] Complete doc --- tstl/include/shared_ptr.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tstl/include/shared_ptr.hpp b/tstl/include/shared_ptr.hpp index da601118..4f2cca98 100644 --- a/tstl/include/shared_ptr.hpp +++ b/tstl/include/shared_ptr.hpp @@ -17,7 +17,9 @@ namespace std { /*! * \brief A shared_ptr ptr of type T. * - * TODO + * A shared pointer is a reference-counted pointer, with several pointers being + * able to point to the same managed object. When the reference counter goes + * down to zero, the object is automatically deleted. */ template struct shared_ptr {