So in a way, is namespace a class? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

So in a way, is namespace a class?

28th Jul 2016, 12:00 PM
Goitse
1 ответ
+ 1
No, it's the other way round. A class constitutes a namespace (but also has other properties that a namespace does not have). You can see that in the way the implementation files ("*.cpp") are written.
28th Jul 2016, 1:47 PM
Stefan
Stefan - avatar