Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2007-11-22 04:35:28


Boris Gubenko wrote:
> Markus Schoepflin wrote:
>> the remaining two failures for Tru64/CXX (kolmogorov_max_flow_test and
>> max_flow_test) should be marked as expected, as the STL implementation on
>> this platform seems to suffer from a vector<bool>::iterator which doesn't
>> satisfy all requirements:
>
> Thanks for the investigation, Markus. This is a known problem in Rogue
> Wave library: the vector<bool> iterators are not symmetric. We became
> aware of it when a new test in Perennial 6.4 testing iterators
> N + vector<bool> failed to compile. There is associated bug report in
> the Rogue Wave bug tracking system.
>
> A workaround which would work only for the one explicit specialization:
> vector<bool, std::allocator<bool> > and not for any other allocator
> could be adding the following to <vector> :
>
> namespace std {
> vector<bool>::iterator operator+(
> vector<bool>::iterator::difference_type __n,
> const vector<bool>::iterator& __i)
> {
> return __i + __n;
> }
> }
>
> We may consider adding it. In the meantime, when marking the tests for
> cxx, please add "acc*" toolset also (asterisk is for acc-pa_risc).

I marked up the failures for cxx and acc.

Thanks,
Markus


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk