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 |
c++ - C++ bug: incorrect treatment of n-level member typedef access
struct string { static const int npos = -1; }; struct pair { typedef string first_type; typedef string second_type; }; struct container { typedef pair value_type; }; int main() { typedef container container_t; return container_t::value_type::first_type::npos; } This one's causing problems all over the place. All other compilers accept this without complaint. Apr 01 2005
Excellent! Now for them subscript bugs. :-) "Walter" <newshound digitalmars.com> wrote in message news:d46pd4$1ich$1 digitaldaemon.com...Fixed. -Walter Apr 20 2005
|