I have terrible experiences from the release 1.29.0 version of Boost and the Sun 5.3 compiler. It seems that the Sun compiler has problems compiling most of the boost libraries even with all the available public patches. Since the release of 1.29.0 of Boost a lot has happened in the cvs repository, so it seems. I decided therefore to take a snapshot of the current state of the main branch of Boost. To my satisfaction quite a lot of the error and compilation problems I had earlier encountered were gone. Good going guys!

 

The problem I am encountering now with the current snapshot is a template relative problem in type_traits/is_based_and_derived.hpp. The compiler asserts; probably because of a template argument matching problem that the preprocessor has. I’m not sure, but I would like to find out how to work around this problem.

The compiler asserts;

 

template <typename B, typename D>

struct bd_helper

{

    template <typename T>      //ß cant handle the template function with another specified template arg.

    static type_traits::yes_type check(D const volatile *, T);

    static type_traits::no_type  check(B const volatile *, int);

}

 

I was wondering if anyone could assist me to get around this problem.

 

danielk