update boost
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::at`.
|
||||
|
||||
@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)
|
||||
*/
|
||||
@@ -16,7 +16,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
template <std::size_t n, typename = std::make_index_sequence<n>>
|
||||
struct at_type;
|
||||
|
||||
@@ -34,7 +34,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
};
|
||||
|
||||
template <std::size_t n>
|
||||
constexpr at_type<n> at{};
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr at_type<n> at{};
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_AT_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::drop_into`.
|
||||
|
||||
@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)
|
||||
*/
|
||||
@@ -16,7 +16,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
template <std::size_t n, typename F, typename = std::make_index_sequence<n>>
|
||||
struct dropper;
|
||||
|
||||
@@ -41,7 +41,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
};
|
||||
|
||||
template <std::size_t n>
|
||||
constexpr make_dropper<n> drop_into{};
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_dropper<n> drop_into{};
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_DROP_INTO_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::foldl1`.
|
||||
|
||||
@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 detail { namespace variadic {
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
//! @cond
|
||||
template <unsigned int n, typename = when<true>>
|
||||
struct foldl1_impl;
|
||||
@@ -207,8 +207,8 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
}
|
||||
};
|
||||
|
||||
constexpr foldl1_t foldl1{};
|
||||
constexpr auto foldl = foldl1;
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr foldl1_t foldl1{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr auto foldl = foldl1;
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_FOLDL1_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::foldr1`.
|
||||
|
||||
@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 detail { namespace variadic {
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
//! @cond
|
||||
template <unsigned int n, typename = when<true>>
|
||||
struct foldr1_impl;
|
||||
@@ -193,7 +193,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
}
|
||||
};
|
||||
|
||||
constexpr foldr1_t foldr1{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr foldr1_t foldr1{};
|
||||
|
||||
struct foldr_t {
|
||||
template <typename F, typename State, typename ...Xn>
|
||||
@@ -204,7 +204,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
}
|
||||
};
|
||||
|
||||
constexpr foldr_t foldr{};
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr foldr_t foldr{};
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_FOLDR1_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::reverse_apply`.
|
||||
|
||||
@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,14 +14,14 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/detail/variadic/reverse_apply/unrolled.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
BOOST_HANA_CONSTEXPR_LAMBDA auto reverse_apply =
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
BOOST_HANA_INLINE_VARIABLE BOOST_HANA_CONSTEXPR_LAMBDA auto reverse_apply =
|
||||
[](auto&& f, auto&& ...x) -> decltype(auto) {
|
||||
return detail::variadic::reverse_apply_unrolled(
|
||||
static_cast<decltype(f)&&>(f),
|
||||
static_cast<decltype(x)&&>(x)...
|
||||
static_cast<decltype(f)>(f),
|
||||
static_cast<decltype(x)>(x)...
|
||||
);
|
||||
};
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_REVERSE_APPLY_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::reverse_apply_flat`.
|
||||
|
||||
@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)
|
||||
*/
|
||||
@@ -16,7 +16,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
template <int ...i, typename F, typename ...X>
|
||||
constexpr decltype(auto)
|
||||
reverse_apply_flat_helper(std::integer_sequence<int, i...>, F&& f, X&& ...x)
|
||||
@@ -36,6 +36,6 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
static_cast<X&&>(x)...
|
||||
);
|
||||
}
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_REVERSE_APPLY_FLAT_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::reverse_apply_unrolled`.
|
||||
|
||||
@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/functional/reverse_partial.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
struct reverse_apply_unrolled_impl {
|
||||
template <typename F>
|
||||
constexpr decltype(auto) operator()(F&& f) const {
|
||||
@@ -80,8 +80,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
}
|
||||
};
|
||||
|
||||
constexpr reverse_apply_unrolled_impl reverse_apply_unrolled{};
|
||||
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr reverse_apply_unrolled_impl reverse_apply_unrolled{};
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_REVERSE_APPLY_UNROLLED_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::split_at`.
|
||||
|
||||
@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 <cstddef>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
template <std::size_t n>
|
||||
struct split_at_t {
|
||||
template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6, typename X7, typename X8, typename ...Xs>
|
||||
@@ -147,7 +147,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
};
|
||||
|
||||
template <std::size_t n>
|
||||
constexpr _makesplit_at_t<n> split_at{};
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr _makesplit_at_t<n> split_at{};
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_SPLIT_AT_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::detail::variadic::take`.
|
||||
|
||||
@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)
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <cstddef>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
namespace boost { namespace hana { namespace detail { namespace variadic {
|
||||
struct take_impl2 {
|
||||
template <typename F, typename ...Xs>
|
||||
constexpr decltype(auto) operator()(F&& f, Xs&& ...xs) const {
|
||||
@@ -45,7 +45,7 @@ BOOST_HANA_NAMESPACE_BEGIN namespace detail { namespace variadic {
|
||||
};
|
||||
|
||||
template <std::size_t n>
|
||||
constexpr take_t<n> take{};
|
||||
}} BOOST_HANA_NAMESPACE_END
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr take_t<n> take{};
|
||||
}} }} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_DETAIL_VARIADIC_TAKE_HPP
|
||||
|
||||
Reference in New Issue
Block a user