/* @copyright Louis Dionne 2015 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 #include using namespace boost::hana; namespace boost { namespace hana { namespace test { template <> auto objects = make(0,1,2,3,4,5); template <> auto objects = make(0l,1l,2l,3l,4l,5l); }}} int main() { test::laws(); test::laws(); using T = int; constexpr T x = 6, y = 4; // one { BOOST_HANA_CONSTEXPR_CHECK(one() == static_cast(1)); } // mult { BOOST_HANA_CONSTEXPR_CHECK(mult(x, y) == x * y); } }