stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Wolsey (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-1047) string function std::getline incorrectly documented
Date Fri, 12 Mar 2010 11:13:27 GMT
string function std::getline incorrectly documented
---------------------------------------------------

                 Key: STDCXX-1047
                 URL: https://issues.apache.org/jira/browse/STDCXX-1047
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Documentation
            Reporter: Benjamin Wolsey
            Priority: Minor


The documentation for std::getline is incorrect:

template <class Stream, class charT, class traits, class Allocator>
basic_istream<charT, traits>
getline(basic_istream<charT, traits> is, 
        <charT, traits allocator> str, charT delim);

where the second argument should be basic_string<charT, traits, allocator>& str

http://stdcxx.apache.org/doc/stdlibref/basic-string.html#idx390

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message