If anything, static assert will prevent dead imports while such "static return" will silently swallow them.
How would you propose handling module constructors and module-scope variables in presence of such return?
If anything, static assert will prevent dead imports while such "static return" will silently swallow them.
How would you propose handling module constructors and module-scope variables in presence of such return?