Why do functions need to be declared before they are used?
How do you propose to resolve undeclared identifiers that are defined in a different translation unit? C++ has no module concept, but has separate translation as an inheritance from C. A C++ compiler will compile each translation unit by itself, not knowing anything about other translation units at all. (Except that export broke this, which … Read more