update boost

This commit is contained in:
2023-11-24 12:56:13 -06:00
parent cfc99971af
commit 19d727037a
9260 changed files with 849256 additions and 299957 deletions

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Applicative`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Applicative Applicative
//! The `Applicative` concept represents `Functor`s with the ability
@@ -112,6 +112,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [1]: https://wiki.haskell.org/Typeclassopedia#Applicative
template <typename A>
struct Applicative;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_APPLICATIVE_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Comonad`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
// Note: We use a multiline C++ comment because there's a double backslash
// symbol in the documentation (for LaTeX), which triggers
// warning: multi-line comment [-Wcomment]
@@ -106,6 +106,6 @@ BOOST_HANA_NAMESPACE_BEGIN
*/
template <typename W>
struct Comonad;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_COMONAD_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Comparable`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Comparable Comparable
//! The `Comparable` concept defines equality and inequality.
@@ -151,10 +151,10 @@ BOOST_HANA_NAMESPACE_BEGIN
//!
//! [1]: http://en.wikipedia.org/wiki/Equivalence_relation#Definition
//! [2]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3351.pdf
//! [3]: http://en.cppreference.com/w/cpp/concept/EqualityComparable
//! [3]: http://en.cppreference.com/w/cpp/named_req/EqualityComparable
//! [4]: http://en.wikipedia.org/wiki/Injective_function
template <typename T>
struct Comparable;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_COMPARABLE_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Constant`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Constant Constant
//! The `Constant` concept represents data that can be manipulated at
@@ -202,9 +202,9 @@ BOOST_HANA_NAMESPACE_BEGIN
//! reasons as explained above, this common type is still provided.
//!
//!
//! [1]: http://en.cppreference.com/w/cpp/concept/LiteralType
//! [1]: http://en.cppreference.com/w/cpp/named_req/LiteralType
template <typename C>
struct Constant;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_CONSTANT_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::EuclideanRing`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-EuclideanRing Euclidean Ring
//! The `EuclideanRing` concept represents a commutative `Ring` that
@@ -112,6 +112,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [1]: https://en.wikipedia.org/wiki/Euclidean_domain
template <typename R>
struct EuclideanRing;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_EUCLIDEAN_RING_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Foldable`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Foldable Foldable
//! The `Foldable` concept represents data structures that can be reduced
@@ -136,6 +136,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! course result in different effects.
template <typename T>
struct Foldable;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_FOLDABLE_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Functor`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Functor Functor
//! The `Functor` concept represents types that can be mapped over.
@@ -134,6 +134,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [3]: http://en.wikipedia.org/wiki/Category_theory
template <typename F>
struct Functor;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_FUNCTOR_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Group`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Group Group
//! The `Group` concept represents `Monoid`s where all objects have
@@ -106,6 +106,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [2]: http://en.wikipedia.org/wiki/Group_homomorphism
template <typename G>
struct Group;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_GROUP_HPP

View File

@@ -2,8 +2,8 @@
@file
Forward declares `boost::hana::Hashable`.
@copyright Louis Dionne 2016
@copyright Jason Rice 2016
Copyright Louis Dionne 2016
Copyright Jason Rice 2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -14,7 +14,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Hashable Hashable
//! The `Hashable` concept represents objects that can be normalized to
@@ -63,6 +63,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! types, and `signed long long` for signed integral types.
template <typename T>
struct Hashable;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_HASHABLE_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::IntegralConstant`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! The `IntegralConstant` concept represents compile-time integral values.
//!
@@ -68,6 +68,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! `hana::integral_constant`
template <typename C>
struct IntegralConstant;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_INTEGRAL_CONSTANT_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Iterable`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Iterable Iterable
//! The `Iterable` concept represents data structures supporting external
@@ -144,6 +144,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [1]: https://github.com/boostorg/hana/issues/40
template <typename It>
struct Iterable;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_ITERABLE_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Logical`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Logical Logical
//! The `Logical` concept represents types with a truth value.
@@ -161,6 +161,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [1]: http://en.wikipedia.org/wiki/Boolean_algebra_(structure)
template <typename L>
struct Logical;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_LOGICAL_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Metafunction`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Metafunction Metafunction
//! A `Metafunction` is a function that takes `hana::type`s as inputs and
@@ -90,10 +90,10 @@ BOOST_HANA_NAMESPACE_BEGIN
//! deep comparison. Hence, we adopt a conservative stance and avoid
//! providing comparison for `Metafunction`s.
//!
//! [1]: http://en.cppreference.com/w/cpp/concept/FunctionObject
//! [1]: http://en.cppreference.com/w/cpp/named_req/FunctionObject
//! [2]: http://www.boost.org/doc/libs/release/libs/mpl/doc/refmanual/metafunction-class.html
template <typename F>
struct Metafunction;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_METAFUNCTION_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Monad`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Monad Monad
//! The `Monad` concept represents `Applicative`s with the ability to
@@ -193,6 +193,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [2]: https://wiki.haskell.org/Typeclassopedia#Monad
template <typename M>
struct Monad;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_MONAD_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::MonadPlus`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-MonadPlus MonadPlus
//! The `MonadPlus` concept represents Monads with a monoidal structure.
@@ -84,6 +84,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [1]: https://en.wikibooks.org/wiki/Haskell/MonadPlus
template <typename M>
struct MonadPlus;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_MONAD_PLUS_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Monoid`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Monoid Monoid
//! The `Monoid` concept represents data types with an associative
@@ -96,6 +96,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [2]: http://en.wikipedia.org/wiki/Monoid#Monoid_homomorphisms
template <typename M>
struct Monoid;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_MONOID_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Orderable`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Orderable Orderable
//! The `Orderable` concept represents totally ordered data types.
@@ -177,11 +177,11 @@ BOOST_HANA_NAMESPACE_BEGIN
//!
//!
//! [1]: http://en.wikipedia.org/wiki/Total_order
//! [2]: http://en.cppreference.com/w/cpp/concept/LessThanComparable
//! [2]: http://en.cppreference.com/w/cpp/named_req/LessThanComparable
//! [3]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3351.pdf
//! [4]: http://en.wikipedia.org/wiki/Strict_weak_ordering
template <typename Ord>
struct Orderable;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_ORDERABLE_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Product`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Product Product
//! Represents types that are generic containers of two elements.
@@ -98,6 +98,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [1]: http://en.wikipedia.org/wiki/Product_(category_theory)
template <typename P>
struct Product;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_PRODUCT_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Ring`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Ring Ring
//! The `Ring` concept represents `Group`s that also form a `Monoid`
@@ -101,6 +101,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! [2]: http://en.wikipedia.org/wiki/Ring_homomorphism
template <typename R>
struct Ring;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_RING_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Searchable`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Searchable Searchable
//! The `Searchable` concept represents structures that can be searched.
@@ -138,6 +138,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! transformation.
template <typename S>
struct Searchable;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_SEARCHABLE_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Sequence`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -14,7 +14,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/core/when.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Sequence Sequence
//! The `Sequence` concept represents generic index-based sequences.
@@ -160,6 +160,6 @@ BOOST_HANA_NAMESPACE_BEGIN
template <typename S, typename = void>
struct Sequence : Sequence<S, when<true>> { };
#endif
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_SEQUENCE_HPP

View File

@@ -2,7 +2,7 @@
@file
Forward declares `boost::hana::Struct`.
@copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2022
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -13,7 +13,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <boost/hana/config.hpp>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
//! @ingroup group-concepts
//! @defgroup group-Struct Struct
//! The `Struct` concept represents `struct`-like user-defined types.
@@ -151,6 +151,6 @@ BOOST_HANA_NAMESPACE_BEGIN
//! @include example/struct/searchable.cpp
template <typename S>
struct Struct;
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_CONCEPT_STRUCT_HPP