| delorie.com/archives/browse.cgi | search |
| 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 <dave DOT korn DOT cygwin AT googlemail DOT com> |
| 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: | <a15a61311001170622j303ef8d8sa14695320b769c2a AT mail DOT gmail DOT com> <4B535A5D DOT 4090500 AT sh DOT cvut DOT cz> |
| In-Reply-To: | <4B535A5D.4090500@sh.cvut.cz> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |