X-Recipient: archive-cygwin AT delorie DOT 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 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Where is std::copy_n? References: <4B535A5D DOT 4090500 AT sh DOT cvut DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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