Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 09:52:46

0001 /*!
0002 @file
0003 Defines `boost::hana::detail::fast_and`.
0004 
0005 Copyright Louis Dionne 2013-2022
0006 Distributed under the Boost Software License, Version 1.0.
0007 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
0008  */
0009 
0010 #ifndef BOOST_HANA_DETAIL_FAST_AND_HPP
0011 #define BOOST_HANA_DETAIL_FAST_AND_HPP
0012 
0013 #include <boost/hana/config.hpp>
0014 
0015 #include <type_traits>
0016 
0017 
0018 namespace boost { namespace hana { namespace detail {
0019     template <bool ...b>
0020     struct fast_and
0021         : std::is_same<fast_and<b...>, fast_and<((void) b, true)...>>
0022     { };
0023 } }} // end namespace boost::hana
0024 
0025 #endif // !BOOST_HANA_DETAIL_FAST_AND_HPP