|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-04-04 05:22:52
Gennadiy Rozental wrote:
> > svertka.driver.cpp(127): error in "test_svertka": test
> > {result.begin(), result.end()} == {result2, ...} failed [-431600044 !=
> > -78651042]
> >
> > I think this message misses one thing: the position where mismatch
>
> occured. If
>
> > differing values are printed, it's natural to print position, too.
>
> Gennadiy,
>
> > how do you think?
>
> I could probably add " at position N " after failed, though it would make
> an comparisons implementation much more intricate.
On the first look, seems like eqaul_and_continue_impl should take extra
parameter --- number of element, with default value of 0. Am I missing
something?
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk