From 1cae5c569612cf98fa49a63b46f54ee9cba72345 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 17 Jun 2017 00:13:21 +0300 Subject: [PATCH] Fix documentation links in headers --- include/boost/enable_shared_from_this.hpp | 2 +- include/boost/intrusive_ptr.hpp | 2 +- include/boost/make_shared.hpp | 3 +-- include/boost/pointer_to_other.hpp | 2 +- include/boost/scoped_array.hpp | 3 +-- include/boost/scoped_ptr.hpp | 3 +-- include/boost/shared_array.hpp | 2 +- include/boost/shared_ptr.hpp | 2 +- include/boost/smart_ptr.hpp | 15 +++++---------- .../boost/smart_ptr/detail/local_counted_base.hpp | 4 ++-- .../boost/smart_ptr/enable_shared_from_this.hpp | 2 +- include/boost/smart_ptr/intrusive_ptr.hpp | 8 ++++---- include/boost/smart_ptr/local_shared_ptr.hpp | 4 ++-- include/boost/smart_ptr/make_shared.hpp | 3 +-- include/boost/smart_ptr/make_shared_object.hpp | 3 +-- include/boost/smart_ptr/owner_less.hpp | 2 +- include/boost/smart_ptr/scoped_array.hpp | 3 +-- include/boost/smart_ptr/scoped_ptr.hpp | 3 +-- include/boost/smart_ptr/shared_array.hpp | 2 +- include/boost/smart_ptr/shared_ptr.hpp | 2 +- include/boost/smart_ptr/weak_ptr.hpp | 8 ++++---- include/boost/weak_ptr.hpp | 2 +- 22 files changed, 34 insertions(+), 46 deletions(-) diff --git a/include/boost/enable_shared_from_this.hpp b/include/boost/enable_shared_from_this.hpp index b1bb63d..18b938d 100644 --- a/include/boost/enable_shared_from_this.hpp +++ b/include/boost/enable_shared_from_this.hpp @@ -10,7 +10,7 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // -// http://www.boost.org/libs/smart_ptr/enable_shared_from_this.html +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include diff --git a/include/boost/intrusive_ptr.hpp b/include/boost/intrusive_ptr.hpp index 63036dc..c43adbd 100644 --- a/include/boost/intrusive_ptr.hpp +++ b/include/boost/intrusive_ptr.hpp @@ -10,7 +10,7 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // -// See http://www.boost.org/libs/smart_ptr/intrusive_ptr.html for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include diff --git a/include/boost/make_shared.hpp b/include/boost/make_shared.hpp index c04938f..588fbfd 100644 --- a/include/boost/make_shared.hpp +++ b/include/boost/make_shared.hpp @@ -9,8 +9,7 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // -// See http://www.boost.org/libs/smart_ptr/make_shared.html -// for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include diff --git a/include/boost/pointer_to_other.hpp b/include/boost/pointer_to_other.hpp index 8516734..d7d455d 100644 --- a/include/boost/pointer_to_other.hpp +++ b/include/boost/pointer_to_other.hpp @@ -12,7 +12,7 @@ // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/smart_ptr/pointer_to_other.html +// See http://www.boost.org/libs/smart_ptr/ for documentation. // namespace boost diff --git a/include/boost/scoped_array.hpp b/include/boost/scoped_array.hpp index c02fa31..d91889b 100644 --- a/include/boost/scoped_array.hpp +++ b/include/boost/scoped_array.hpp @@ -8,8 +8,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// http://www.boost.org/libs/smart_ptr/scoped_array.htm -// +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include diff --git a/include/boost/scoped_ptr.hpp b/include/boost/scoped_ptr.hpp index cb916da..334a22e 100644 --- a/include/boost/scoped_ptr.hpp +++ b/include/boost/scoped_ptr.hpp @@ -8,8 +8,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// http://www.boost.org/libs/smart_ptr/scoped_ptr.htm -// +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include diff --git a/include/boost/shared_array.hpp b/include/boost/shared_array.hpp index 0700ce4..6804224 100644 --- a/include/boost/shared_array.hpp +++ b/include/boost/shared_array.hpp @@ -11,7 +11,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/smart_ptr/shared_array.htm for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include diff --git a/include/boost/shared_ptr.hpp b/include/boost/shared_ptr.hpp index d31978c..cb01b26 100644 --- a/include/boost/shared_ptr.hpp +++ b/include/boost/shared_ptr.hpp @@ -11,7 +11,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include diff --git a/include/boost/smart_ptr.hpp b/include/boost/smart_ptr.hpp index b5e569d..6fabfc5 100644 --- a/include/boost/smart_ptr.hpp +++ b/include/boost/smart_ptr.hpp @@ -11,21 +11,16 @@ // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // -// http://www.boost.org/libs/smart_ptr/smart_ptr.htm +// See http://www.boost.org/libs/smart_ptr/ for documentation. // -#include - #include #include #include #include - -#if !defined(BOOST_NO_MEMBER_TEMPLATES) || defined(BOOST_MSVC6_MEMBER_TEMPLATES) -# include -# include -# include -# include -#endif +#include +#include +#include +#include #endif // #ifndef BOOST_SMART_PTR_HPP_INCLUDED diff --git a/include/boost/smart_ptr/detail/local_counted_base.hpp b/include/boost/smart_ptr/detail/local_counted_base.hpp index 94a9b02..ebaae19 100644 --- a/include/boost/smart_ptr/detail/local_counted_base.hpp +++ b/include/boost/smart_ptr/detail/local_counted_base.hpp @@ -9,13 +9,13 @@ // detail/local_counted_base.hpp // -// http://www.boost.org/libs/smart_ptr/ -// // Copyright 2017 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) +// +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include #include diff --git a/include/boost/smart_ptr/enable_shared_from_this.hpp b/include/boost/smart_ptr/enable_shared_from_this.hpp index 2e16f81..07e8b8f 100644 --- a/include/boost/smart_ptr/enable_shared_from_this.hpp +++ b/include/boost/smart_ptr/enable_shared_from_this.hpp @@ -10,7 +10,7 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // -// http://www.boost.org/libs/smart_ptr/enable_shared_from_this.html +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include diff --git a/include/boost/smart_ptr/intrusive_ptr.hpp b/include/boost/smart_ptr/intrusive_ptr.hpp index aaf4e1e..0ab075d 100644 --- a/include/boost/smart_ptr/intrusive_ptr.hpp +++ b/include/boost/smart_ptr/intrusive_ptr.hpp @@ -6,11 +6,11 @@ // // Copyright (c) 2001, 2002 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) +// 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) // -// See http://www.boost.org/libs/smart_ptr/intrusive_ptr.html for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include diff --git a/include/boost/smart_ptr/local_shared_ptr.hpp b/include/boost/smart_ptr/local_shared_ptr.hpp index dcf2128..2b3795e 100644 --- a/include/boost/smart_ptr/local_shared_ptr.hpp +++ b/include/boost/smart_ptr/local_shared_ptr.hpp @@ -3,13 +3,13 @@ // local_shared_ptr.hpp // -// http://www.boost.org/libs/smart_ptr/ -// // Copyright 2017 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) +// +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include #include diff --git a/include/boost/smart_ptr/make_shared.hpp b/include/boost/smart_ptr/make_shared.hpp index 8d0e3ea..dd9191c 100644 --- a/include/boost/smart_ptr/make_shared.hpp +++ b/include/boost/smart_ptr/make_shared.hpp @@ -9,8 +9,7 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // -// See http://www.boost.org/libs/smart_ptr/make_shared.html -// for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include diff --git a/include/boost/smart_ptr/make_shared_object.hpp b/include/boost/smart_ptr/make_shared_object.hpp index 59172e1..c681602 100644 --- a/include/boost/smart_ptr/make_shared_object.hpp +++ b/include/boost/smart_ptr/make_shared_object.hpp @@ -9,8 +9,7 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // -// See http://www.boost.org/libs/smart_ptr/make_shared.html -// for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include #include diff --git a/include/boost/smart_ptr/owner_less.hpp b/include/boost/smart_ptr/owner_less.hpp index 75d182c..5f50aeb 100644 --- a/include/boost/smart_ptr/owner_less.hpp +++ b/include/boost/smart_ptr/owner_less.hpp @@ -11,7 +11,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/smart_ptr/smart_ptr.htm for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // namespace boost diff --git a/include/boost/smart_ptr/scoped_array.hpp b/include/boost/smart_ptr/scoped_array.hpp index 5cd4b40..05dd05a 100644 --- a/include/boost/smart_ptr/scoped_array.hpp +++ b/include/boost/smart_ptr/scoped_array.hpp @@ -8,8 +8,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// http://www.boost.org/libs/smart_ptr/scoped_array.htm -// +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include #include diff --git a/include/boost/smart_ptr/scoped_ptr.hpp b/include/boost/smart_ptr/scoped_ptr.hpp index 5e290b2..5325eba 100644 --- a/include/boost/smart_ptr/scoped_ptr.hpp +++ b/include/boost/smart_ptr/scoped_ptr.hpp @@ -8,8 +8,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// http://www.boost.org/libs/smart_ptr/scoped_ptr.htm -// +// See http://www.boost.org/libs/smart_ptr/ for documentation. #include #include diff --git a/include/boost/smart_ptr/shared_array.hpp b/include/boost/smart_ptr/shared_array.hpp index 8e856cf..3ffa742 100644 --- a/include/boost/smart_ptr/shared_array.hpp +++ b/include/boost/smart_ptr/shared_array.hpp @@ -11,7 +11,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/smart_ptr/shared_array.htm for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include // for broken compiler workarounds diff --git a/include/boost/smart_ptr/shared_ptr.hpp b/include/boost/smart_ptr/shared_ptr.hpp index 7bcf951..6f5810d 100644 --- a/include/boost/smart_ptr/shared_ptr.hpp +++ b/include/boost/smart_ptr/shared_ptr.hpp @@ -11,7 +11,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include // for broken compiler workarounds diff --git a/include/boost/smart_ptr/weak_ptr.hpp b/include/boost/smart_ptr/weak_ptr.hpp index cd0da7a..391eac9 100644 --- a/include/boost/smart_ptr/weak_ptr.hpp +++ b/include/boost/smart_ptr/weak_ptr.hpp @@ -6,11 +6,11 @@ // // Copyright (c) 2001, 2002, 2003 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) +// 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) // -// See http://www.boost.org/libs/smart_ptr/weak_ptr.htm for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include // boost.TR1 include order fix diff --git a/include/boost/weak_ptr.hpp b/include/boost/weak_ptr.hpp index dd26869..fa8574b 100644 --- a/include/boost/weak_ptr.hpp +++ b/include/boost/weak_ptr.hpp @@ -10,7 +10,7 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // -// See http://www.boost.org/libs/smart_ptr/weak_ptr.htm for documentation. +// See http://www.boost.org/libs/smart_ptr/ for documentation. // #include