From a96e8b977bb8831bfef71f5fe248c5f01eaa5e8c Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Thu, 12 Jun 2014 02:10:10 +0400 Subject: [PATCH] Added missing copyright comments. Corrected links to the documentation on the comments. --- doc/checked_delete.qbk | 11 +++++++++++ doc/enable_if.qbk | 13 +++++++++++++ doc/explicit_operator_bool.qbk | 4 ++-- doc/ref.qbk | 12 ++++++++++++ doc/scoped_enum.qbk | 10 ++++++++++ doc/swap.qbk | 10 ++++++++++ include/boost/checked_delete.hpp | 8 ++++++++ include/boost/core/checked_delete.hpp | 2 +- include/boost/core/ref.hpp | 2 +- include/boost/detail/lightweight_test.hpp | 8 ++++++++ include/boost/detail/no_exceptions_support.hpp | 8 ++++++++ include/boost/detail/scoped_enum_emulation.hpp | 8 ++++++++ include/boost/noncopyable.hpp | 8 ++++++++ include/boost/ref.hpp | 8 ++++++++ include/boost/swap.hpp | 8 ++++++++ include/boost/utility/addressof.hpp | 8 ++++++++ include/boost/utility/enable_if.hpp | 8 ++++++++ include/boost/utility/explicit_operator_bool.hpp | 8 ++++++++ include/boost/utility/null_deleter.hpp | 9 --------- include/boost/utility/swap.hpp | 8 ++++++++ 20 files changed, 148 insertions(+), 13 deletions(-) delete mode 100644 include/boost/utility/null_deleter.hpp diff --git a/doc/checked_delete.qbk b/doc/checked_delete.qbk index ff83678..8205272 100644 --- a/doc/checked_delete.qbk +++ b/doc/checked_delete.qbk @@ -1,3 +1,14 @@ +[/ + / Copyright (c) 2002, 2003 Peter Dimov + / Copyright (c) 2003 Daniel Frey + / Copyright (c) 2003 Howard Hinnant + / Copyright (c) 2014 Glen Fernandes + / + / 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) + /] + [section:checked_delete checked_delete] [simplesect Authors] diff --git a/doc/enable_if.qbk b/doc/enable_if.qbk index fedafcd..4af43c8 100644 --- a/doc/enable_if.qbk +++ b/doc/enable_if.qbk @@ -1,3 +1,16 @@ +[/ + / Copyright 2003 (c) The Trustees of Indiana University. + / Copyright 2014 (c) Glen Fernandes + / + / Use, modification, and distribution is subject to 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) + / + / Authors: Jaakko Jarvi (jajarvi at osl.iu.edu) + / Jeremiah Willcock (jewillco at osl.iu.edu) + / Andrew Lumsdaine (lums at osl.iu.edu) + /] + [section:enable_if enable_if] [simplesect Authors] diff --git a/doc/explicit_operator_bool.qbk b/doc/explicit_operator_bool.qbk index 8abb9f1..1c50332 100644 --- a/doc/explicit_operator_bool.qbk +++ b/doc/explicit_operator_bool.qbk @@ -1,5 +1,3 @@ -[section:explicit_operator_bool explicit_operator_bool] - [/ / Copyright (c) 2013 Andrey Semashev / @@ -7,6 +5,8 @@ / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) /] +[section:explicit_operator_bool explicit_operator_bool] + [/=================] [simplesect Authors] [/=================] diff --git a/doc/ref.qbk b/doc/ref.qbk index 54ddf00..3e524ca 100644 --- a/doc/ref.qbk +++ b/doc/ref.qbk @@ -1,3 +1,15 @@ +[/ + / Copyright (C) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi) + / Copyright (C) 2001, 2002 Peter Dimov + / Copyright (C) 2002 David Abrahams + / Copyright (C) 2014 Glen Joseph Fernandes + / Copyright (C) 2014 Agustin Berge + / + / 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) + /] + [section:ref ref] [simplesect Authors] diff --git a/doc/scoped_enum.qbk b/doc/scoped_enum.qbk index d0931f8..7c7f687 100644 --- a/doc/scoped_enum.qbk +++ b/doc/scoped_enum.qbk @@ -1,3 +1,13 @@ +[/ + / Copyright (c) 2009 Beman Dawes + / Copyright (C) 2011-2012 Vicente J. Botet Escriba + / Copyright (C) 2012 Anthony Williams + / Copyright (c) 2014 Andrey Semashev + / + / 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) + /] + [section:scoped_enum scoped_enum] [simplesect Authors] diff --git a/doc/swap.qbk b/doc/swap.qbk index bcb41b2..5c64f55 100644 --- a/doc/swap.qbk +++ b/doc/swap.qbk @@ -1,3 +1,13 @@ +[/ + / Copyright (C) 2007, 2008 Steven Watanabe, Joseph Gauterin, Niels Dekker + / Copyright (C) 2014 Glen Fernandes + / + / 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) + / For more information, see http://www.boost.org + /] + [section:swap swap] [simplesect Authors] diff --git a/include/boost/checked_delete.hpp b/include/boost/checked_delete.hpp index 10716cf..fb71c78 100644 --- a/include/boost/checked_delete.hpp +++ b/include/boost/checked_delete.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_CHECKED_DELETE_HPP #define BOOST_CHECKED_DELETE_HPP diff --git a/include/boost/core/checked_delete.hpp b/include/boost/core/checked_delete.hpp index 48ff044..b086e03 100644 --- a/include/boost/core/checked_delete.hpp +++ b/include/boost/core/checked_delete.hpp @@ -18,7 +18,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/utility/checked_delete.html for documentation. +// See http://www.boost.org/libs/core/doc/html/core/checked_delete.html for documentation. // namespace boost diff --git a/include/boost/core/ref.hpp b/include/boost/core/ref.hpp index 2fd4dc8..414dd1a 100644 --- a/include/boost/core/ref.hpp +++ b/include/boost/core/ref.hpp @@ -25,7 +25,7 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // -// See http://www.boost.org/libs/bind/ref.html for documentation. +// See http://www.boost.org/libs/core/doc/html/core/ref.html for documentation. // /** diff --git a/include/boost/detail/lightweight_test.hpp b/include/boost/detail/lightweight_test.hpp index d91d49e..9fece8a 100644 --- a/include/boost/detail/lightweight_test.hpp +++ b/include/boost/detail/lightweight_test.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_DETAIL_LIGHTWEIGHT_TEST_HPP #define BOOST_DETAIL_LIGHTWEIGHT_TEST_HPP diff --git a/include/boost/detail/no_exceptions_support.hpp b/include/boost/detail/no_exceptions_support.hpp index 943222d..7d17454 100644 --- a/include/boost/detail/no_exceptions_support.hpp +++ b/include/boost/detail/no_exceptions_support.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_DETAIL_NO_EXCEPTIONS_SUPPORT_HPP #define BOOST_DETAIL_NO_EXCEPTIONS_SUPPORT_HPP diff --git a/include/boost/detail/scoped_enum_emulation.hpp b/include/boost/detail/scoped_enum_emulation.hpp index 8a81c1b..1c7bc23 100644 --- a/include/boost/detail/scoped_enum_emulation.hpp +++ b/include/boost/detail/scoped_enum_emulation.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Andrey Semashev + * + * 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) + */ + #ifndef BOOST_DETAIL_SCOPED_ENUM_EMULATION_HPP #define BOOST_DETAIL_SCOPED_ENUM_EMULATION_HPP diff --git a/include/boost/noncopyable.hpp b/include/boost/noncopyable.hpp index 7e96266..e998ee8 100644 --- a/include/boost/noncopyable.hpp +++ b/include/boost/noncopyable.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_NONCOPYABLE_HPP #define BOOST_NONCOPYABLE_HPP diff --git a/include/boost/ref.hpp b/include/boost/ref.hpp index b9b4b12..17b56ec 100644 --- a/include/boost/ref.hpp +++ b/include/boost/ref.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_REF_HPP #define BOOST_REF_HPP diff --git a/include/boost/swap.hpp b/include/boost/swap.hpp index e233a00..55cafa4 100644 --- a/include/boost/swap.hpp +++ b/include/boost/swap.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_SWAP_HPP #define BOOST_SWAP_HPP diff --git a/include/boost/utility/addressof.hpp b/include/boost/utility/addressof.hpp index 8b59faf..db4da80 100644 --- a/include/boost/utility/addressof.hpp +++ b/include/boost/utility/addressof.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_UTILITY_ADDRESSOF_HPP #define BOOST_UTILITY_ADDRESSOF_HPP diff --git a/include/boost/utility/enable_if.hpp b/include/boost/utility/enable_if.hpp index 0943d7d..803bfca 100644 --- a/include/boost/utility/enable_if.hpp +++ b/include/boost/utility/enable_if.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_UTILITY_ENABLE_IF_HPP #define BOOST_UTILITY_ENABLE_IF_HPP diff --git a/include/boost/utility/explicit_operator_bool.hpp b/include/boost/utility/explicit_operator_bool.hpp index 70937b3..9b625cd 100644 --- a/include/boost/utility/explicit_operator_bool.hpp +++ b/include/boost/utility/explicit_operator_bool.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_UTILITY_EXPLICIT_OPERATOR_BOOL_HPP #define BOOST_UTILITY_EXPLICIT_OPERATOR_BOOL_HPP diff --git a/include/boost/utility/null_deleter.hpp b/include/boost/utility/null_deleter.hpp deleted file mode 100644 index 496f21d..0000000 --- a/include/boost/utility/null_deleter.hpp +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef BOOST_UTILITY_NULL_DELETER_HPP -#define BOOST_UTILITY_NULL_DELETER_HPP - -// The header file at this path is deprecated; -// use boost/core/null_deleter.hpp instead. - -#include - -#endif diff --git a/include/boost/utility/swap.hpp b/include/boost/utility/swap.hpp index ca891e3..dd9ecd9 100644 --- a/include/boost/utility/swap.hpp +++ b/include/boost/utility/swap.hpp @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014 Glen Fernandes + * + * 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) + */ + #ifndef BOOST_UTILITY_SWAP_HPP #define BOOST_UTILITY_SWAP_HPP