AntiPattern

Perfect Forwarding In Append

value-category-mismatch-in-range-forwarding

Over-eager forwarding inside a range-based loop turns lvalues into rvalues, so a += generate() and a += b behave the same (often moving when you want copying), breaking value-category expectations and APIs.