5 ms·
That's because modules and namespaces are the same thing in languages like Python, whereas they are separated in C++. The code in the imported module will go in
by yuushi 5y ago
That's because modules and namespaces are the same thing in languages like Python, whereas they are separated in C++. The code in the imported module will go into whatever namespace it is in within that module, not the global namespace.
- mypalmike 5y agoI had forgotten about C++ namespaces. It's been quite a while. I'm not sure that this addresses my concern though. Do namespaces enable the import of specific symbols from a module?