From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2003-03-05 13:54:43
The MIPSpro problems are due to a hickup in is_base_and_derived.hpp.
Here is the relevant *preprocessed* piece of code:
template <typename B, typename D>
template <typename T>
static type_traits::yes_type check(D const volatile *, T);
static type_traits::no_type check(B const volatile *, int);
template<typename B, typename D>
operator B const volatile *() const;
operator D const volatile *();
static const bool value = sizeof(bd_helper<B,D>:: check(Host(), 0)) ==
And here is the error:
cc-1108 CC: ERROR File =
/u1/rwgrosse/rc_1_30_0/boost/boost/type_traits/is_base_and_derived.hpp, Line =
The indicated expression must have pointer-to-function type.
static const bool value = sizeof(bd_helper<B,D> ::check(Host(), 0)) ==
- Replacing "sizeof(bd_helper<B,D> ::check(Host(), 0))" by "sizeof(int)"
leads to successful compilation.
- Removing the space before ::check doesn't make a difference.
MIPSpro is based on EDG 238. Are there known issues with "operator T"?
Ideas for a workaround are highly appreciated.
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk