2
0
mirror of https://github.com/boostorg/hana.git synced 2026-02-16 01:22:11 +00:00
Files
hana/test/type/lift.cpp
Louis Dionne 05593b652c Redefine lift as an equivalence of categories.
This allows us to mechanically translate most type traits, which is
a good hint that we've found a way to merge type computation with
value computation. The problematic type traits will be tackled later.
2014-05-24 19:06:41 -04:00

19 lines
442 B
C++

/*
* Copyright Louis Dionne 2014
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE.md or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/type.hpp>
#include <boost/hana/detail/static_assert.hpp>
#include <type_traits>
using namespace boost::hana;
int main() {
BOOST_HANA_STATIC_ASSERT(lift<std::add_pointer_t>(type<void>) == type<void*>);
}