]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/benchmark/sort/compile.hana.tuple.sorted_but_last.erb.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / hana / benchmark / sort / compile.hana.tuple.sorted_but_last.erb.cpp
1 // Copyright Louis Dionne 2013-2017
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/tuple.hpp>
6 #include <boost/hana/sort.hpp>
7
8 int main() {
9 constexpr auto tuple = boost::hana::make_tuple(
10 <%= ((1..input_size).to_a + [0]).map { |n| "boost::hana::int_c<#{n}>" }.join(', ') %>
11 );
12 constexpr auto result = boost::hana::sort(tuple);
13 (void)result;
14 }