incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <>
Subject Re: test for lib.partial.sum
Date Tue, 28 Feb 2006 01:00:31 GMT
Martin Sebor wrote:
> Anton Pevtsov wrote:
>>         rw_assert (success, 0, __LINE__,
>>                    "step %zu: partial_sum <%s, %s%{?}, %s%{;}> = %p"
>>                    " expected %p, difference %td",
>>                    i + 1, itname, outname, binop, opname, res, dst_end,
>>                    res - dst_end);
> I think I now understand your suggestion for an %{Y=*.*} directive
> analogous to %{X=*.*}. I think we can simply extend class X and
> define operator+=() et al to avoid having to even define Y. Once
> we've done than we need to remember to revisit these tests and
> 1) remove class Y and b) add enhance the diagnostic output to
> print out the sequences of objects of type X as we do elsewhere.

I just did both with the changes below. Check them out and let me
know if you find anything wrong or if you can think of improvements.


View raw message