www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - platformstl namespace

reply "Pablo Aguilar" <paguilarg hotmail.com> writes:
I've tried today, for the first time, to use platformstl headers with
Borland C++ Builder 6, and found a problem with the way the namespaces are
defined...

The follwing doesn't compile correctly with BCB (don't know if it works with
other compilers, didn't bother trying, sorry!...):

namespace top
{
    namespace inner
    {
    }
}

namespace outer = top::inner;
namesapce outer
{
    // additional members of the top::inner namespace
}

If you replace the above names with:
top = stlsoft
inner = platformstl_project
outer = platformstl

you get the platformstl headers not compiling


Pablo
May 11 2005
parent "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Fixed. Will be in _one last_ beta. :-)

"Pablo Aguilar" <paguilarg hotmail.com> wrote in message 
news:d5ugta$25ea$1 digitaldaemon.com...
 I've tried today, for the first time, to use platformstl headers 
 with
 Borland C++ Builder 6, and found a problem with the way the 
 namespaces are
 defined...

 The follwing doesn't compile correctly with BCB (don't know if it 
 works with
 other compilers, didn't bother trying, sorry!...):

 namespace top
 {
    namespace inner
    {
    }
 }

 namespace outer = top::inner;
 namesapce outer
 {
    // additional members of the top::inner namespace
 }

 If you replace the above names with:
 top = stlsoft
 inner = platformstl_project
 outer = platformstl

 you get the platformstl headers not compiling


 Pablo

 

May 15 2005