|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
c++.beta - [8.50.3] bug: CRTP + namespaces not correctly handled
Using, via CRTP, a component from the 'stlsoft' namespace, in a component in
the 'winstl' namespace (which is an alias for 'stlsoft::winstl_project').
The compiler complains about:
dmccrtpbug.cpp(12) : Error: namespace 'winstl_project' does not enclose
member '?0' of namespace 'stlsoft'
--- errorlevel 1
If the namespaces are removed, all is well.
I expect (as it's somewhat unusual) it's just a circumstance not yet seen by
the compiler. AFAICT, this is the last unworkaroundable DMC++ problem
holding up STLSoft 1.9. Hopefully the fix is reasonably simple. :-)
Cheers
Matthew
Jan 13 2007
|