|
Boost Users : |
From: Puverle, Tomas (IT) (Tomas.Puverle_at_[hidden])
Date: 2004-10-04 04:02:09
A repost, since no answer to my previous mail.
> -----Original Message-----
> From: Puverle, Tomas (IT)
> Sent: 01 October 2004 15:05
> To: 'boost_at_[hidden]'
> Subject: Compilation problem with boost on SunCC (Forte 6.2 & 8)
>
> Please find attached a small program and a the resulting
> compilation errors on SunCC.
> This occurs in iterator_facade.hpp, operator != (), calling
> to interator_core_access::equal. I have tracked this down to
> the following problem:
>
> f(mpl::true_);
> f(mpl::false_);
>
> f(is_convertible<>()); //will not work
>
> is_convertible<> derives from mpl::bool<>, however it seems
> that a bug in the compiler prevents it from converting to
> mpl::true_/mpl::false_ in the above scenario (and in the
> program attached)
>
> A workaround for this is to change it to the following:
>
> f(mpl::true_);
> f(mpl::false_);
>
> f(mpl::bool_<is_convertible<>::value>());
>
> Presumably this will be present in other places but this is
> the only one our developers have hit so far.
>
> Thanks,
>
> Tom
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net