Should C ++ namespaces be merged into companies namespace?
Java packages usually use the company prefix (com.example.department.project ....), is this usually done in C ++?
If I am developing a library, should I wrap the namespace in the company name? Something like
namespace company {
namespace project {
...
}
}
Is this usually done in real C ++ practice? And even if this is not a common practice, when starting a new project of a new C ++ 11/14 project, is it a good idea to do it?
+3
source to share
No one has answered this question yet
Check out similar questions: