Archived issue #0005531
Foundation classes - it is impossible avoid "using namespace std" directive when use OCC
Description
In this case there is follow problems.
1. There is dependecies from order of included header files.
2. There is possibility of name conflict with different from std namespaces.
In other words, definition of using some namespace directive must be inside
other namespace or take place in source code, not header files.
I suggest to solve the problem like is written in
Bjarne Straustrap"The C++ programming languige", 3-th edition, in [network address removed] paragraf
1. There is dependecies from order of included header files.
2. There is possibility of name conflict with different from std namespaces.
In other words, definition of using some namespace directive must be inside
other namespace or take place in source code, not header files.
I suggest to solve the problem like is written in
Bjarne Straustrap"The C++ programming languige", 3-th edition, in [network address removed] paragraf
Public activity
2 archived notes
Participants are labeled by their role within this record.
Problem described in issue is reproduced on current state of OCCT.
Related records