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
Defines `boost::hana::experimental::print`.
@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)
*/
@@ -40,7 +40,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <utility>
BOOST_HANA_NAMESPACE_BEGIN namespace experimental {
namespace boost { namespace hana { namespace experimental {
template <typename T>
struct Printable;
@@ -87,7 +87,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace experimental {
}
};
constexpr print_t print{};
BOOST_HANA_INLINE_VARIABLE constexpr print_t print{};
#endif
// Define the `Printable` concept
@@ -98,7 +98,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace experimental {
};
namespace print_detail {
std::string strip_type_junk(std::string const& str) {
inline std::string strip_type_junk(std::string const& str) {
return std::regex_replace(str, std::regex("(?:struct )?([a-z_]+::)*([a-z_]*)_t<((?:struct )?[a-z:<>_]*)>"), "$2<$3>");
}
}
@@ -252,6 +252,6 @@ BOOST_HANA_NAMESPACE_BEGIN namespace experimental {
return "type<" + boost::core::demangle(typeid(Type).name()) + '>';
}
};
} BOOST_HANA_NAMESPACE_END
} }} // end namespace boost::hana
#endif // !BOOST_HANA_EXPERIMENTAL_PRINTABLE_HPP

View File

@@ -2,7 +2,7 @@
@file
Defines `boost::hana::experimental::type_name`.
@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)
*/
@@ -17,7 +17,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <utility>
BOOST_HANA_NAMESPACE_BEGIN namespace experimental {
namespace boost { namespace hana { namespace experimental {
namespace detail {
struct cstring {
char const* ptr;
@@ -59,6 +59,6 @@ BOOST_HANA_NAMESPACE_BEGIN namespace experimental {
constexpr auto name = detail::type_name_impl2<T>();
return detail::type_name_impl1<T>(std::make_index_sequence<name.length>{});
}
} BOOST_HANA_NAMESPACE_END
} }} // end namespace boost::hana
#endif // !BOOST_HANA_EXPERIMENTAL_TYPE_NAME_HPP

View File

@@ -2,7 +2,7 @@
@file
Defines `boost::hana::experimental::types`.
@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)
*/
@@ -29,7 +29,7 @@ Distributed under the Boost Software License, Version 1.0.
#include <utility>
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
namespace experimental {
//! @ingroup group-experimental
//! Container optimized for holding types.
@@ -153,6 +153,6 @@ BOOST_HANA_NAMESPACE_BEGIN
static constexpr hana::false_ apply(Ts const&, Us const&)
{ return {}; }
};
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_EXPERIMENTAL_TYPES_HPP

View File

@@ -2,7 +2,7 @@
@file
Defines experimental views.
@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)
*/
@@ -56,7 +56,7 @@ Distributed under the Boost Software License, Version 1.0.
// "view" is not cheap to copy, which is inconsistent with the usual
// expectations about views.
BOOST_HANA_NAMESPACE_BEGIN
namespace boost { namespace hana {
namespace experimental {
struct view_tag;
@@ -148,7 +148,7 @@ namespace experimental {
return {s1, s2};
}
};
constexpr make_joined_view_t joined{};
BOOST_HANA_INLINE_VARIABLE constexpr make_joined_view_t joined{};
namespace detail {
template <typename Sequence1, typename Sequence2>
@@ -510,6 +510,6 @@ struct less_impl<S, experimental::view_tag, hana::when<hana::Sequence<S>::value>
}
};
BOOST_HANA_NAMESPACE_END
}} // end namespace boost::hana
#endif // !BOOST_HANA_EXPERIMENTAL_VIEW_HPP