Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005531Open CASCADE[OCCT] OCCT:Foundation Classespublic2004-03-25 09:422019-07-21 12:24
Assigned Toimv 
PlatformOSAllOS Version
Product Version 
Target VersionFixed in Version 
Summary0005531: Foundation classes - it is impossible avoid "using namespace std" directive when use OCC
DescriptionIn 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 paragraf
TagsNo tags attached.
Test case numberNot required
Attached Files

- Relationships
related to 0008239verifiedbugmaster Foundation Classes - directive "using namespace std" doesn't allow to build application with OCC and other 3rd party libraries 

-  Notes
apv (tester)
2017-09-08 12:17

Problem described in issue is reproduced on current state of OCCT.

- Issue History
Date Modified Username Field Change
2004-03-26 19:08 bugmaster Assigned To bugmaster => imv
2004-03-26 19:08 bugmaster Status new => assigned
2004-03-29 11:36 bugmaster Status assigned => closed
2004-03-29 11:36 bugmaster Resolution @0@ => suspended
2004-03-29 11:36 bugmaster validate => 1
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2017-09-08 12:17 apv Test case number => Not required
2017-09-08 12:17 apv Note Added: 0070338
2017-09-08 12:17 apv Category OCCT:Modeling Algorithms => OCCT:Foundation Classes
2017-09-08 12:17 apv Fixed in Version EMPTY =>
2017-09-08 12:17 apv Description Updated View Revisions
2019-07-18 18:56 kgv Relationship added related to 0008239
2019-07-21 12:24 tizmaylo Summary It is impossible avoid "using namespace std" directive when use OCC => Foundation classes - it is impossible avoid "using namespace std" directive when use OCC

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker