#1375 Problems with New Namespace Dune::std
Metadata
Property | Value |
---|---|
Reported by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Reported at | Oct 10, 2013 09:19 |
Type | Discussion |
Version | 2.2 |
Operating System | Unspecified / All |
Last edited by | Markus Blatt (markus@dr-blatt.de) |
Last edited at | Jan 2, 2015 09:55 |
Closed by | Markus Blatt (markus@dr-blatt.de) |
Closed at | Jan 2, 2015 09:55 |
Closed in version | Unknown |
Resolution | Deferred |
Comment | until more problems occur. |
Personally, I would have left this open. Closing bugs as fixed just because there was no activity still seems weired. |
Description
On the developer meeting in Aachen we decided to move all STL-like classes and fallback implementations to the namespace Dune::std. This causes problems with the namespace lookup when using, e.g., std::cout within the namespace Dune.
As an example, I moved Dune::array into the namespace Dune::std in a private branch: dune-common/p/mnolte/namespace-std
As a result of the presence of the namespace Dune::std, all tests including array.hh do not compile anymore, because no symbol (except for array) in the namespace std (which now resolves to Dune::std) is found by the compiler.
Maybe we should select a different name for the namespace after all. How shall we proceed?