// 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) #include #include #include #include namespace hana = boost::hana; struct f { template struct apply { struct type; }; }; struct x; struct y; BOOST_HANA_CONSTANT_CHECK(hana::metafunction_class() == hana::type_c::type>); BOOST_HANA_CONSTANT_CHECK(hana::metafunction_class(hana::type_c) == hana::type_c::type>); BOOST_HANA_CONSTANT_CHECK(hana::metafunction_class(hana::type_c, hana::type_c) == hana::type_c::type>); static_assert(std::is_same< decltype(hana::metafunction_class)::apply::type, f::apply::type >::value, ""); int main() { }