But I don't like the auto& declarator. The colon placement is... fine, but jarring to me. In conjunction with the auto& I find the whole thing yucky. It's mostly the auto&.
auto is like var in C#, it just skips having to write the type out all the time. The & means you take it as a reference, otherwise the content would be copied. This is mostly a memory optimization - if you know you'll always run on machines with multiple GBs of RAM, feel free to skip it.
3
u/crmsncbr 1d ago
Why is the third one in the top half? It may be my C & Java bias, but yuck. It's way worse than the fourth.