From issues-return-1917-apmail-stdcxx-issues-archive=stdcxx.apache.org@stdcxx.apache.org Thu May 15 20:57:21 2008 Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 87979 invoked from network); 15 May 2008 20:57:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2008 20:57:20 -0000 Received: (qmail 72913 invoked by uid 500); 15 May 2008 20:57:22 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 72879 invoked by uid 500); 15 May 2008 20:57:21 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 72827 invoked by uid 99); 15 May 2008 20:57:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 13:57:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 20:56:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A8F6D234C117 for ; Thu, 15 May 2008 13:56:55 -0700 (PDT) Message-ID: <2027384270.1210885015691.JavaMail.jira@brutus> Date: Thu, 15 May 2008 13:56:55 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Updated: (STDCXX-75) [25.fill.cpp] std::fill_n() Size template parameter not exercised MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor updated STDCXX-75: ------------------------------- Severity: Inefficiency Fix Version/s: 4.2.0 Looks like this was fixed years ago in [r357264|http://svn.apache.org/viewvc?view=rev&revision=357264] and the fix was in 4.2.0. > [25.fill.cpp] std::fill_n() Size template parameter not exercised > ----------------------------------------------------------------- > > Key: STDCXX-75 > URL: https://issues.apache.org/jira/browse/STDCXX-75 > Project: C++ Standard Library > Issue Type: Improvement > Components: Tests > Affects Versions: 4.1.3 > Environment: all > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Minor > Fix For: 4.2.0 > > > 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 > 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. - You can reply to this email to add a comment to the issue online.