From e3adcaed1e74daf2342cc6b1383432a1e2932454 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 21 Apr 2019 23:00:24 +0300 Subject: [PATCH] Add revision history --- doc/smart_ptr.adoc | 2 ++ doc/smart_ptr/changelog.adoc | 19 +++++++++++++++++++ doc/smart_ptr/introduction.adoc | 4 +++- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 doc/smart_ptr/changelog.adoc diff --git a/doc/smart_ptr.adoc b/doc/smart_ptr.adoc index 2c1a7cc..216f477 100644 --- a/doc/smart_ptr.adoc +++ b/doc/smart_ptr.adoc @@ -19,6 +19,8 @@ Greg Colvin, Beman Dawes, Peter Dimov, Glen Fernandes include::smart_ptr/introduction.adoc[] +include::smart_ptr/changelog.adoc[] + include::smart_ptr/scoped_ptr.adoc[] include::smart_ptr/scoped_array.adoc[] diff --git a/doc/smart_ptr/changelog.adoc b/doc/smart_ptr/changelog.adoc new file mode 100644 index 0000000..a10239a --- /dev/null +++ b/doc/smart_ptr/changelog.adoc @@ -0,0 +1,19 @@ +//// +Copyright 2019 Peter Dimov + +Distributed under the Boost Software License, Version 1.0. + +See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt +//// + +[#changelog] +# Revision History +:toc: +:toc-title: +:idprefix: changelog_ + +## Changes in 1.71.0 + +* Added aliasing constructors to `weak_ptr` +* Added `weak_ptr::empty()` diff --git a/doc/smart_ptr/introduction.adoc b/doc/smart_ptr/introduction.adoc index ff51823..babddf7 100644 --- a/doc/smart_ptr/introduction.adoc +++ b/doc/smart_ptr/introduction.adoc @@ -11,7 +11,9 @@ http://www.boost.org/LICENSE_1_0.txt [#introduction] # Introduction -:idprefix: intro +:toc: +:toc-title: +:idprefix: intro_ Smart pointers are objects which store pointers to dynamically allocated (heap) objects. They behave much like built-in {cpp} pointers except that they automatically delete the object