c++.beta - [8.50.3] bug: CRTP + namespaces not correctly handled
- "Matthew Wilson" <matthew hat.stlsoft.dot.org> Jan 13 2007
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








"Matthew Wilson" <matthew hat.stlsoft.dot.org>