update boost
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Forward declares `boost::hana::common` and `boost::hana::common_t`.
|
||||
|
||||
@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-core
|
||||
//! %Metafunction returning the common data type between two data types.
|
||||
//!
|
||||
@@ -98,6 +98,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
//! @include example/core/common/common_t.cpp
|
||||
template <typename T, typename U>
|
||||
using common_t = typename common<T, U>::type;
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FWD_CORE_COMMON_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Forward declares `boost::hana::default_` and `boost::hana::is_default`.
|
||||
|
||||
@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-core
|
||||
//! Mark a tag-dispatched method implementation as a default implementation.
|
||||
//!
|
||||
@@ -51,6 +51,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
template <typename T, typename = void>
|
||||
struct is_default;
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FWD_CORE_DEFAULT_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Forward declares `boost::hana::is_a` and `boost::hana::is_an`.
|
||||
|
||||
@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-core
|
||||
//! Returns whether the tag of an object matches a given tag.
|
||||
//!
|
||||
@@ -43,7 +43,7 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
struct is_a_t;
|
||||
|
||||
template <typename Tag, typename ...T>
|
||||
constexpr is_a_t<Tag, T...> is_a{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr is_a_t<Tag, T...> is_a{};
|
||||
#endif
|
||||
|
||||
//! @ingroup group-core
|
||||
@@ -54,8 +54,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
constexpr auto is_an = is_a<Tag, T...>;
|
||||
#else
|
||||
template <typename Tag, typename ...T>
|
||||
constexpr is_a_t<Tag, T...> is_an{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr is_a_t<Tag, T...> is_an{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FWD_CORE_IS_A_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Forward declares `boost::hana::make`.
|
||||
|
||||
@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-core
|
||||
//! Create an object of the given tag with the given arguments.
|
||||
//!
|
||||
@@ -63,8 +63,8 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
};
|
||||
|
||||
template <typename Tag>
|
||||
constexpr make_t<Tag> make{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr make_t<Tag> make{};
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FWD_CORE_MAKE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Forward declares `boost::hana::tag_of` and `boost::hana::tag_of_t`.
|
||||
|
||||
@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-core
|
||||
//! %Metafunction returning the tag associated to `T`.
|
||||
//!
|
||||
@@ -115,6 +115,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
//! @include example/core/tag_of_t.cpp
|
||||
template <typename T>
|
||||
using tag_of_t = typename hana::tag_of<T>::type;
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FWD_CORE_TAG_OF_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Forward declares `boost::hana::to` and related utilities.
|
||||
|
||||
@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-core
|
||||
//! Converts an object from one data type to another.
|
||||
//!
|
||||
@@ -108,7 +108,7 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
};
|
||||
|
||||
template <typename To>
|
||||
constexpr to_t<To> to{};
|
||||
BOOST_HANA_INLINE_VARIABLE constexpr to_t<To> to{};
|
||||
#endif
|
||||
|
||||
//! @ingroup group-core
|
||||
@@ -169,6 +169,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
template <typename From, typename To, typename = void>
|
||||
struct is_embedded;
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FWD_CORE_TO_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Forward declares `boost::hana::when` and `boost::hana::when_valid`.
|
||||
|
||||
@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-core
|
||||
//! Enable a partial specialization only if a boolean condition is true.
|
||||
//!
|
||||
@@ -69,6 +69,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
core_detail::always_true<Dummy...>::value
|
||||
>;
|
||||
#endif
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_FWD_CORE_WHEN_HPP
|
||||
|
||||
Reference in New Issue
Block a user