mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
fix index_range
This commit is contained in:
parent
44f973cc19
commit
312aa7f73c
3 changed files with 6 additions and 10 deletions
|
@ -18,10 +18,8 @@ namespace sprout {
|
|||
template <typename T1, typename T2>
|
||||
template <typename... Args1, typename... Args2, sprout::index_t... Indexes1, sprout::index_t... Indexes2>
|
||||
inline SPROUT_CONSTEXPR sprout::pair<T1, T2>::pair(
|
||||
sprout::tuples::tuple<Args1...> first_args,
|
||||
sprout::tuples::tuple<Args2...> second_args,
|
||||
sprout::index_tuple<Indexes1...>,
|
||||
sprout::index_tuple<Indexes2...>
|
||||
sprout::tuples::tuple<Args1...> first_args, sprout::tuples::tuple<Args2...> second_args,
|
||||
sprout::index_tuple<Indexes1...>, sprout::index_tuple<Indexes2...>
|
||||
)
|
||||
: first(sprout::tuples::get<Indexes1>(first_args)...)
|
||||
, second(sprout::tuples::get<Indexes2>(second_args)...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue