3 ms·
Using apply, though interesting, looks like a hack TBH. From a practical standpoint, the (explicit) use of index_sequence seems better (and simpler).
by Koshkin 5y ago
Using apply, though interesting, looks like a hack TBH. From a practical standpoint, the (explicit) use of index_sequence seems better (and simpler).