mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
fix tuple_element order
This commit is contained in:
parent
403e83eaf0
commit
c9610b5ae5
9 changed files with 70 additions and 63 deletions
|
@ -35,7 +35,7 @@ namespace std {
|
|||
struct tuple_element<I, sprout::integer_sequence<T, Is...> > {
|
||||
static_assert(I < sizeof...(Is), "tuple_element<>: index out of range");
|
||||
public:
|
||||
typedef typename sprout::tppack_c_at<I, T, Is...>::type type;
|
||||
typedef typename sprout::pack_element_c<I, T, Is...>::type type;
|
||||
};
|
||||
|
||||
#if !SPROUT_USE_TEMPLATE_ALIASES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue