X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B5376AE.3040607@gmail.com>
Date: Sun, 17 Jan 2010 20:44:30 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Where is std::copy_n?
References: <a15a61311001170622j303ef8d8sa14695320b769c2a@mail.gmail.com> <4B535A5D.4090500@sh.cvut.cz>
In-Reply-To: <4B535A5D.4090500@sh.cvut.cz>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Václav Haisman wrote:
> Roman Werpachowski wrote, On 17.1.2010 15:22:
>> Hi,
>>
>> The cygwin C++ library does not seem to implement std::copy_n
>> (http://www.sgi.com/tech/stl/copy_n.html) Why?
> "This function is an SGI extension; it is not part of the C++ standard."
> 
> You should not expect it to exist if you want portable code.

  I think it looks like it's been added to gcc as part of the experimental
C++0x support.  See here:

http://gcc.gnu.org/ml/libstdc++/2008-06/msg00099.html

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

