/*! @file Defines `boost::hana::detail::index_if`. @copyright Louis Dionne 2013-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) */ #ifndef BOOST_HANA_DETAIL_INDEX_IF_HPP #define BOOST_HANA_DETAIL_INDEX_IF_HPP #include #include #include #include BOOST_HANA_NAMESPACE_BEGIN namespace detail { template struct pack { static constexpr std::size_t length = sizeof...(T); }; template struct make_pack; template