[ https://issues.apache.org/jira/browse/STDCXX-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036792#comment-13036792 ]
Jim Bell commented on STDCXX-1047: ---------------------------------- The return value is also (still) incorrect in the documentation: it should be a reference to basic_istream (same as the second argument). > 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 > Assignee: Martin Sebor > Priority: Minor > Fix For: 5.0.0 > > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira