update boost
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/lift.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename A>
|
||||
struct Applicative
|
||||
: hana::integral_constant<bool,
|
||||
@@ -28,6 +28,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<lift_impl<typename tag_of<A>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_APPLICATIVE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -21,7 +21,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/extract.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename W>
|
||||
struct Comonad
|
||||
: hana::integral_constant<bool,
|
||||
@@ -30,6 +30,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<extend_impl<typename tag_of<W>::type>>::value)
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_COMONAD_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -19,7 +19,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/equal.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename T>
|
||||
struct Comparable
|
||||
: hana::integral_constant<bool,
|
||||
@@ -27,6 +27,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
typename tag_of<T>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_COMPARABLE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -19,13 +19,13 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/value.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename C>
|
||||
struct Constant
|
||||
: hana::integral_constant<bool,
|
||||
!is_default<value_impl<typename tag_of<C>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_CONSTANT_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/mod.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename R>
|
||||
struct EuclideanRing
|
||||
: hana::integral_constant<bool,
|
||||
@@ -30,6 +30,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
typename tag_of<R>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_EUCLIDEAN_RING_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/unpack.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename T>
|
||||
struct Foldable
|
||||
: hana::integral_constant<bool,
|
||||
@@ -28,6 +28,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<unpack_impl<typename tag_of<T>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_FOLDABLE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/transform.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename F>
|
||||
struct Functor
|
||||
: hana::integral_constant<bool,
|
||||
@@ -28,6 +28,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<adjust_if_impl<typename tag_of<F>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_FUNCTOR_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/negate.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename G>
|
||||
struct Group
|
||||
: hana::integral_constant<bool,
|
||||
@@ -29,6 +29,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
typename tag_of<G>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_GROUP_HPP
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,13 +20,13 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/hash.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename T>
|
||||
struct Hashable
|
||||
: hana::integral_constant<bool,
|
||||
!is_default<hash_impl<typename tag_of<T>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_HASHABLE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -17,7 +17,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/detail/integral_constant.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
namespace detail {
|
||||
template <typename C, typename Tag = typename tag_of<C>::type>
|
||||
struct integral_constant_dispatch
|
||||
@@ -38,6 +38,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
: detail::integral_constant_dispatch<C>
|
||||
{ };
|
||||
//! @endcond
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_INTEGRAL_CONSTANT_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -21,7 +21,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/is_empty.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename It>
|
||||
struct Iterable
|
||||
: hana::integral_constant<bool,
|
||||
@@ -30,6 +30,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<is_empty_impl<typename tag_of<It>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_ITERABLE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -21,7 +21,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/while.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename L>
|
||||
struct Logical
|
||||
: hana::integral_constant<bool,
|
||||
@@ -30,6 +30,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<while_impl<typename tag_of<L>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_LOGICAL_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -17,7 +17,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/detail/integral_constant.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
namespace detail {
|
||||
template <typename F, typename Tag = typename tag_of<F>::type>
|
||||
struct metafunction_dispatch
|
||||
@@ -36,6 +36,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
struct Metafunction
|
||||
: detail::metafunction_dispatch<F>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_METAFUNCTION_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/flatten.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename M>
|
||||
struct Monad
|
||||
: hana::integral_constant<bool,
|
||||
@@ -28,6 +28,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<chain_impl<typename tag_of<M>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_MONAD_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/empty.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename M>
|
||||
struct MonadPlus
|
||||
: hana::integral_constant<bool,
|
||||
@@ -28,6 +28,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<empty_impl<typename tag_of<M>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_MONAD_PLUS_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/zero.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename M>
|
||||
struct Monoid
|
||||
: hana::integral_constant<bool,
|
||||
@@ -29,6 +29,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
typename tag_of<M>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_MONOID_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -19,7 +19,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/less.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename Ord>
|
||||
struct Orderable
|
||||
: hana::integral_constant<bool,
|
||||
@@ -27,6 +27,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
typename tag_of<Ord>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_ORDERABLE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/second.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename P>
|
||||
struct Product
|
||||
: hana::integral_constant<bool,
|
||||
@@ -28,6 +28,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<second_impl<typename tag_of<P>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_PRODUCT_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/one.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename R>
|
||||
struct Ring
|
||||
: hana::integral_constant<bool,
|
||||
@@ -29,6 +29,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
typename tag_of<R>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_RING_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/find_if.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename S>
|
||||
struct Searchable
|
||||
: hana::integral_constant<bool,
|
||||
@@ -28,6 +28,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
!is_default<find_if_impl<typename tag_of<S>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_SEARCHABLE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/detail/integral_constant.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
namespace detail {
|
||||
template <typename S, typename Tag = typename hana::tag_of<S>::type>
|
||||
struct sequence_dispatch
|
||||
@@ -39,6 +39,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
: detail::sequence_dispatch<S>
|
||||
{ };
|
||||
//! @endcond
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_SEQUENCE_HPP
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `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)
|
||||
*/
|
||||
@@ -19,13 +19,13 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/detail/integral_constant.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
template <typename S>
|
||||
struct Struct
|
||||
: hana::integral_constant<bool,
|
||||
!is_default<accessors_impl<typename tag_of<S>::type>>::value
|
||||
>
|
||||
{ };
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_CONCEPT_STRUCT_HPP
|
||||
|
||||
Reference in New Issue
Block a user