]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/hana/test/integral_constant/hashable.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / test / integral_constant / hashable.cpp
CommitLineData
b32b8144 1// Copyright Louis Dionne 2013-2017
7c673cae
FG
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
4
5#include <boost/hana/integral_constant.hpp>
6#include <boost/hana/tuple.hpp>
7
8#include <laws/hashable.hpp>
9namespace hana = boost::hana;
10
11
12int main() {
13 constexpr auto ints = hana::make_tuple(
14 hana::integral_constant<char, 42>{}
15 , hana::integral_constant<signed char, 42>{}
16 , hana::integral_constant<signed short, 42>{}
17 , hana::integral_constant<signed int, 42>{}
18 , hana::integral_constant<signed long, 42>{}
19 , hana::integral_constant<unsigned char, 42>{}
20 , hana::integral_constant<unsigned short, 42>{}
21 , hana::integral_constant<unsigned int, 42>{}
22 , hana::integral_constant<unsigned long, 42>{}
23 );
24
25 hana::test::TestHashable<hana::integral_constant_tag<void>>{ints};
26}