// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include #include #include #include namespace hana = boost::hana; template struct f { struct type; }; struct x; struct y; BOOST_HANA_CONSTANT_CHECK(hana::metafunction() == hana::type_c::type>); BOOST_HANA_CONSTANT_CHECK(hana::metafunction(hana::type_c) == hana::type_c::type>); BOOST_HANA_CONSTANT_CHECK(hana::metafunction(hana::type_c, hana::type_c) == hana::type_c::type>); static_assert(std::is_same< decltype(hana::metafunction)::apply::type, f::type >::value, ""); int main() { }