3 ms·
so modules should have actually been one of the first feature added to C++? Because in C the usage of header files is still more or less sane, it's only C++ tha
by rob74 3y ago
so modules should have actually been one of the first feature added to C++? Because in C the usage of header files is still more or less sane, it's only C++ that drives it too far...
- pjmlp 3y agoImpossible given the original design requirements for C with Classes, while being developed at Bell Labs, require nothing more than a standard UNIX C toolchain. Hence name mangling, the only way to add some linking type safety, while using a bare bones UNIX linker that only knows C and Assembly.