www.digitalmars.com         C & C++   DMDScript  

c++.beta - DMC++ 8.41.6

reply "Walter" <newshound digitalmars.com> writes:
Couple of fixes for boost.

http://www.digitalmars.com/download/freecompiler.html
Sep 01 2004
parent Daniel James <daniel calamity.org.uk> writes:
Walter wrote:
 Couple of fixes for boost.
 
 http://www.digitalmars.com/download/freecompiler.html
I just tried the type traits with it, and it passes a lot more tests. I haven't tried it with the preprocessor library yet. Unfortunately, one of the tests now crashes. The following reproduces the problem: #include <typeinfo> template <class X> struct test {}; int main() { typeid(test<bool const volatile[2]>); } Also, I found another bug. I don't think this one's new, I just thought it was due to one of the bugs you fixed. The following example prints out 'bool[const 2][3]' instead of 'const bool[2][3]'. #include <typeinfo> #include <iostream> int main() { typedef bool bool_array[2][3]; std::cout<<typeid(const bool_array).name()<<'\n'; } I guess this one's not very high priority. Thanks for the fixes. The const/volatile array one will be a great help. Daniel
Sep 01 2004