mirror of
https://github.com/azahar-emu/mcl
synced 2025-11-06 23:20:08 +01:00
Fix lift_sequence in msys2
This commit is contained in:
parent
a97408f2c5
commit
7b08d83418
@ -5,6 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include "mcl/mp/typelist/list.hpp"
|
||||
|
||||
@ -20,6 +21,11 @@ struct lift_sequence_impl<VLT<T, values...>> {
|
||||
using type = list<std::integral_constant<T, values>...>;
|
||||
};
|
||||
|
||||
template<class T, T... values>
|
||||
struct lift_sequence_impl<std::integer_sequence<T, values...>> {
|
||||
using type = list<std::integral_constant<T, values>...>;
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
|
||||
/// Lifts values in value list VL to create a type list.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user