update boost
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::always`.
|
||||
|
||||
@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 boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Return a constant function returning `x` regardless of the
|
||||
//! argument(s) it is invoked with.
|
||||
@@ -57,8 +57,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
{ return std::move(val_); }
|
||||
};
|
||||
|
||||
constexpr detail::create<_always> always{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr detail::create<_always> always{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_ALWAYS_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::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)
|
||||
*/
|
||||
@@ -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-functional
|
||||
//! Invokes a Callable with the given arguments.
|
||||
//!
|
||||
@@ -35,7 +35,7 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
//! @include example/functional/apply.cpp
|
||||
//!
|
||||
//! [1]: http://en.cppreference.com/w/cpp/utility/functional/invoke
|
||||
//! [2]: http://en.cppreference.com/w/cpp/concept/Callable
|
||||
//! [2]: http://en.cppreference.com/w/cpp/named_req/Callable
|
||||
#ifdef BOOST_HANA_DOXYGEN_INVOKED
|
||||
constexpr auto apply = [](auto&& f, auto&& ...x) -> decltype(auto) {
|
||||
return forwarded(f)(forwarded(x)...);
|
||||
@@ -78,8 +78,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr apply_t apply{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr apply_t apply{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_APPLY_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::arg`.
|
||||
|
||||
@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 <type_traits>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Return the `n`th passed argument.
|
||||
//!
|
||||
@@ -134,8 +134,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
};
|
||||
|
||||
template <std::size_t n>
|
||||
constexpr arg_t<n> arg{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr arg_t<n> arg{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_ARG_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::capture`.
|
||||
|
||||
@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)
|
||||
*/
|
||||
@@ -19,7 +19,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Create a function capturing the given variables.
|
||||
//!
|
||||
@@ -105,8 +105,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr make_capture_t capture{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_capture_t capture{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_CAPTURE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::compose`.
|
||||
|
||||
@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 boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Return the composition of two functions or more.
|
||||
//!
|
||||
@@ -101,8 +101,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr _make_compose compose{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr _make_compose compose{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_COMPOSE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::curry`.
|
||||
|
||||
@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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Curry a function up to the given number of arguments.
|
||||
//!
|
||||
@@ -109,15 +109,15 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
};
|
||||
|
||||
template <std::size_t n>
|
||||
constexpr make_curry_t<n> curry{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_curry_t<n> curry{};
|
||||
|
||||
namespace curry_detail {
|
||||
namespace curry_detail { namespace {
|
||||
template <std::size_t n>
|
||||
constexpr make_curry_t<n> curry_or_call{};
|
||||
|
||||
template <>
|
||||
constexpr auto curry_or_call<0> = apply;
|
||||
}
|
||||
}}
|
||||
|
||||
template <std::size_t n, typename F>
|
||||
struct curry_t {
|
||||
@@ -165,6 +165,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
{ return std::move(f)(); }
|
||||
};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_CURRY_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::demux`.
|
||||
|
||||
@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 <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Invoke a function with the results of invoking other functions
|
||||
//! on its arguments.
|
||||
@@ -262,8 +262,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr make_pre_demux_t demux{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_pre_demux_t demux{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_DEMUX_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::fix`.
|
||||
|
||||
@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 boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Return a function computing the fixed point of a function.
|
||||
//!
|
||||
@@ -59,7 +59,7 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
template <typename F>
|
||||
struct fix_t;
|
||||
|
||||
constexpr detail::create<fix_t> fix{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr detail::create<fix_t> fix{};
|
||||
|
||||
template <typename F>
|
||||
struct fix_t {
|
||||
@@ -78,6 +78,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
{ return std::move(f)(fix(f), static_cast<X&&>(x)...); }
|
||||
};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_FIX_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::flip`.
|
||||
|
||||
@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 boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Invoke a function with its two first arguments reversed.
|
||||
//!
|
||||
@@ -66,8 +66,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr detail::create<flip_t> flip{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr detail::create<flip_t> flip{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_FLIP_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::id`.
|
||||
|
||||
@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-functional
|
||||
//! The identity function -- returns its argument unchanged.
|
||||
//!
|
||||
@@ -31,8 +31,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr id_t id{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr id_t id{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_ID_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::infix`.
|
||||
|
||||
@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)
|
||||
*/
|
||||
@@ -19,7 +19,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Return an equivalent function that can also be applied in infix
|
||||
//! notation.
|
||||
@@ -178,8 +178,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
} // end namespace infix_detail
|
||||
|
||||
constexpr infix_detail::make_infix<false, false> infix{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr infix_detail::make_infix<false, false> infix{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_INFIX_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::iterate`.
|
||||
|
||||
@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 boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Applies another function `n` times to its argument.
|
||||
//!
|
||||
@@ -194,8 +194,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
};
|
||||
|
||||
template <std::size_t n>
|
||||
constexpr make_iterate_t<n> iterate{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_iterate_t<n> iterate{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_ITERATE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::lockstep`.
|
||||
|
||||
@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 <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Invoke a function with the result of invoking other functions on its
|
||||
//! arguments, in lockstep.
|
||||
@@ -107,8 +107,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr make_pre_lockstep_t lockstep{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_pre_lockstep_t lockstep{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_LOCKSTEP_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::on`.
|
||||
|
||||
@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 boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Invoke a function with the result of invoking another function on
|
||||
//! each argument.
|
||||
@@ -76,8 +76,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr auto on = infix(detail::create<on_t>{});
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr auto on = infix(detail::create<on_t>{});
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_ON_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::overload`.
|
||||
|
||||
@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/detail/decay.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Pick one of several functions to call based on overload resolution.
|
||||
//!
|
||||
@@ -81,8 +81,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr make_overload_t overload{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_overload_t overload{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_OVERLOAD_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::overload_linearly`.
|
||||
|
||||
@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 boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Call the first function that produces a valid call expression.
|
||||
//!
|
||||
@@ -103,8 +103,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr make_overload_linearly_t overload_linearly{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_overload_linearly_t overload_linearly{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_OVERLOAD_LINEARLY_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::partial`.
|
||||
|
||||
@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 <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Partially apply a function to some arguments.
|
||||
//!
|
||||
@@ -98,8 +98,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr make_partial_t partial{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_partial_t partial{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_PARTIAL_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::_`.
|
||||
|
||||
@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)
|
||||
*/
|
||||
@@ -19,7 +19,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Create simple functions representing C++ operators inline.
|
||||
//!
|
||||
@@ -256,8 +256,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
#undef BOOST_HANA_BINARY_PLACEHOLDER_OP
|
||||
} // end namespace placeholder_detail
|
||||
|
||||
constexpr placeholder_detail::placeholder _{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr placeholder_detail::placeholder _{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_PLACEHOLDER_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::reverse_partial`.
|
||||
|
||||
@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 <utility>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @ingroup group-functional
|
||||
//! Partially apply a function to some arguments.
|
||||
//!
|
||||
@@ -96,8 +96,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
}
|
||||
};
|
||||
|
||||
constexpr make_reverse_partial_t reverse_partial{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_reverse_partial_t reverse_partial{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FUNCTIONAL_REVERSE_PARTIAL_HPP
|
||||
|
||||
Reference in New Issue
Block a user