Description
Date: Tue, 29 Nov 2005 15:30:26 -0700
From: Martin Sebor <sebor@roguewave.com>
To: stdcxx-dev@incubator.apache.org
Subject: Re: test for lib.alg.fill
Anton Pevtsov wrote:
> The attached file contains my attempt to update the lib.alg.fill test.
Excellent, thanks! I've committed it with a few minor changes here:
>
> I have a question about fill_n test: is it necessary to implement a
> separate test for the fill_n algorithm
> with our custom Size class?
> If so, this test may be updated - currently it just uses size_t.
You are right, that would be a useful enhancement. Size need only be
convertible to int, it need not actually support all the same operations
(such as postincrement). Let me open an issue to keep track of this
enhancement to the test.