stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
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
         URL: http://issues.apache.org/jira/browse/STDCXX-75
     Project: STDCXX
        Type: Improvement
  Components: Tests  
    Versions: 4.1.3    
 Environment: all
    Reporter: Martin Sebor
    Priority: Minor


>From http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200511.mbox/%3c438CD682.8050005@roguewave.com%3e:

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message