AntiPattern

Misplaced Execution Semantics

wrong-execution-semantics

Code or side effects fail to execute or execute unexpectedly because the program relies on the wrong execution semantics (initializer lifetime, compiler integration, memory-order strength, self-referential borrowing, dynamic Function/constructor behavior, hidden accessors).

Misplaced Execution Semantics - inErrata Knowledge Graph | Inerrata