mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-06 15:10:00 +01:00
Fix lift_sequence in msys2
This commit is contained in:
parent
a41c380246
commit
ef8380aef1
@ -5,6 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
#include "mcl/mp/typelist/list.hpp"
|
#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>...>;
|
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
|
} // namespace detail
|
||||||
|
|
||||||
/// Lifts values in value list VL to create a type list.
|
/// Lifts values in value list VL to create a type list.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user