May 12, 2005 platformstl namespace | ||||
---|---|---|---|---|
| ||||
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 Re: platformstl namespace | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pablo Aguilar | 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 > > |
Copyright © 1999-2021 by the D Language Foundation