Where is std::copy_n?

Dave Korn dave.korn.cygwin@googlemail.com
Sun Jan 17 20:40:00 GMT 2010


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



More information about the Cygwin mailing list