blob: c60caa5c3a256f4765b4ead0d8b2f5a3b2d21330 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include <utility>
namespace floormat {
template <size_t... Is>
constexpr std::index_sequence<sizeof...(Is)-1u-Is...> reverse_index_sequence(std::index_sequence<Is...>);
template <size_t N>
using make_reverse_index_sequence = decltype(reverse_index_sequence(std::make_index_sequence<N>{}));
} // namespace floormat
|