]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/benchmark/reverse/nomove.hana.tuple.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)
5 #include <boost/hana/reverse.hpp>
6 #include <boost/hana/tuple.hpp>
12 namespace hana
= boost::hana
;
16 std::string
s(1000, 'x');
17 hana::benchmark::measure([&] {
18 for (int iteration
= 0; iteration
< 1 << 5; ++iteration
) {
19 auto values
= hana::make_tuple(
20 <%= input_size
.times
.map
{ 's' }.join(', ') %>
23 auto result
= hana::reverse(values
);