Rearrange the contents of a compile-time tuple based on the indicies specified in another compile-time tuple. More...
Rearrange the contents of a compile-time tuple based on the indicies specified in another compile-time tuple.
For example, given the tuple <0, 1, 2> and the order <1, 2, 0>, output the tuple <2, 0, 1>.
Tuple | Type of the compile-time tuple to reorder |
Order | Tuple which represents the indices of the other tuple |