stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
Subject [jira] Created: (STDCXX-75) [25.fill.cpp] std::fill_n() Size template parameter not exercised
Date Wed, 30 Nov 2005 15:29:30 GMT
[25.fill.cpp] std::fill_n() Size template parameter not exercised

         Key: STDCXX-75
     Project: STDCXX
        Type: Improvement
  Components: Tests  
    Versions: 4.1.3    
 Environment: all
    Reporter: Martin Sebor
    Priority: Minor


Date: Tue, 29 Nov 2005 15:30:26 -0700
From: Martin Sebor <>
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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message