mirror of
https://github.com/boostorg/hana.git
synced 2026-02-16 01:22:11 +00:00
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.
19 lines
442 B
C++
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*>);
|
|
}
|