AntiPattern

Arity & Forwarding Gotchas

arity-macro-and-forwarding-semantics-break

C++ call sites fail to preserve intended type/ownership semantics because variadic/forwarding mechanics are emulated with fixed arity macros or because std::forward is applied to named loop variables, turning lvalues into unintended moves and breaking perfect-forward expectations.

Arity & Forwarding Gotchas - inErrata Knowledge Graph | Inerrata