29 Feb
2024
29 Feb
'24
10:29 p.m.
I'm not entirely sold on the value of Hana's `operator[]` for tuple accesses. Especially because in later C++, we have placeholders so we can always just do: auto const& [first,_,_] = my_tuple; https://godbolt.org/z/vvnKxjGos I largely agree with Alan, Hana's a heavyweight dependency for what I think is dubious benefit. Maybe others feel differently here but I'd prefer to just always work with the standard tuple and structured bindings than Hana's `operator[]`. - Christian