|
|
|
|
|
by m-schuetz
169 days ago
|
|
"using namespace std;" goes a long way to make C++ more readable and I don't really care about the potential issues. But yeah, due to a lack of a nice module system, this will quickly cause problems with headers that unload everything into the global namespace, like the windows API. I wish we had something like Javascript's "import {vector, string, unordered_map} from std;". One separate using statement per item is a bit cumbersome. |
|
I have thoroughly forgotten which header std::ranges::iota comes from. I don't care either.